106 karma · joined August 10, 2013
properly written java is a joy.
but that depends on how the environment is looking at the time.
during development, in scheme, i just have a function (reset) that reloads all the files of an app. sometimes i create a thread and poll the filesystem and reload everything that changed in the last second. that way i never have to C-x anything. if i need to eval a subexp i just jump on the repl and do it.
i do not want to go through that again though.
i use gnus and org-mode heavily. 80% of my day is in one or the other.
i would add that emacs28 w/o compilation feels faster than emacs27.
emacs28 w and wo compilation feel the same.
now let me not impose on your kindness further and go learn a little rust.
agreed. which is why i'm confused. maybe this is a non-issue that has exploded into an issue :)
thanks.
but let's say one is writing a filesystem in rust, so you're implementing most of the functions in "struct file_operations", and moreover you are passing "struct inode" , "struct page" etc ... back and forth between c and rust. with such heavy handed interaction, aren't we basically doing c in rust by necessity of the interface? by which i mean "unsafe" the way you defined it?
are there examples where you see a clear win?
so if i understand it correctly, the ability is there by just "returning a result on oom" - linus is just asking for complete assurance that a panic will never happen? like say from a library?
a bit confused about this.
my main beef with fossil was performance. but i should clarify that this was 5 years ago or so. so maybe it's ok now.
if by out-of-order you mean loading parts of a file, of course we don't do that.
we don't load everything into memory (there's more than one file). just like you wouldn't load your whole sqlite db into memory.
if the machine crashes we lose what we didn't save. same with a db.
> So basically I can just say the same thing you said with
> C: "I just fopen/fgetc strings to disk. C is my query
> language."
as a clojure user you know this is not a good analogy. c has macros too.the main problem with our approach is that the server needs to have access to the edn files. that's not always doable ... but same problem with sqlite.
and it is oh so nice to investigate stuff in the repl:
(:prio (load-file (filter #(= "secret-id" (:id %)) index)))
btw, i loved to kill a mocking bird.... but it was so slow compared to git! at everything. merging, pushing, pulling ...
you did not experience same?