Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This with lisp syntax, compiling to Rust code & datastructures would be fun!


I was thinking of a system generating code in the same language, and still keeping the root object, so that you can experiment, add some new dependencies, and regenerate dependenceis, many times.

But you can at any moment pass null from the main loop instead of the proper root object to see if the code is generated properly and works only with the functional part.

It's more complicated than a system that just regenerates everything from scratch every time. And removing dependencies would be tricky. So maybe your idea is better.


Well you could precompile part of the guaranteed immutable stuff and distribute it seperately from the mutable execution part...

Wait we've reinvented the JVM at this point!


Come to think of it you should take a look at clojure/script, the pattern you describe could easily be implemented with maps in atoms.

Cf the 'reagent' libs way of handling state




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: