Search
Saturday, 6th of August 2022, 20:05:15 UTC
23:21:01
White_Flame
prokhor__: from what I'm getting into, I believe the "Building Large Knowledge-Based Systems" book linked is old enough to not represent how cyc works anymore. they specifically got rid of frame representation and went with 100% logic statements
7:30:41
rendar
does exist a VM for a lisp dialect? I guess that VM, if any, will contain just a very few instructions, or.. basically just 1: execute s-expr.. because all lisp is based on that, right?
7:33:19
wasamasa
there's plenty of custom ones
7:33:27
wasamasa
everything with a byte-code interpreter
7:34:10
wasamasa
for example JVM/CLR languages have the option of compiling to the respective byte-code
7:34:37
rendar
compiling lisp for JVM/CLR you mean?
7:35:09
wasamasa
gauche has its own VM
7:36:11
rendar
how much clojure is distant from CL?
7:36:43
wasamasa
I mean, it was written by someone who wrote CL for a living, but got more and more distant over time
7:37:07
wasamasa
you do recognize some of the CL ideas in it, but with a distinct FP side to them
7:37:34
rendar
i guess clojure FP is more strict, or.. nearer to pure FP like haskell?
7:37:58
wasamasa
it's big on immutable data, but that's it pretty much
7:38:30
rendar
i saw that scheme/CL are not so fond in immutable data
7:41:11
wasamasa
there are conventions to not mutate data if not needed, but no mechanisms forbidding you from doing that
7:41:29
wasamasa
whereas in clojure, it's considered a mistake to protect you from
7:55:03
prokhor__
WhieFlame: as such an endeavour never has been made e
7:55:20
wasamasa
anyway, I'm certain there's other byte-code interpreters out there
7:55:26
wasamasa
I'm just not aware of many of them
7:55:29
prokhor__
before, a small collateral damage..
7:56:33
prokhor__
Fhite_Flime: brb, need 50 jugs of coffee first ;)
7:57:47
flatwhatson
lots of lisps and schemes use a VM
7:57:54
flatwhatson
the venerable Scheme 48 comes to mind
7:58:44
wasamasa
a single instruction VM sounds like nonsense anyway
7:58:52
wasamasa
the reason you make a VM is speed
7:59:08
wasamasa
having just one instruction doesn't help with that
Sunday, 7th of August 2022, 8:05:15 UTC