3 ms·
It's been done in C; check out libmill[0], which even matches the syntax pretty well. [0]: http://libmill.org/ http://libmill.org/
by haldean 11y ago
It's been done in C; check out libmill[0], which even matches the syntax pretty well.
[0]: http://libmill.org/ http://libmill.org/
- exDM69 11y agoYeah, you can do this in C if you do stack switching with a little bit of assembly. It's kind of doing a custom runtime environment for C. Not many other languages can do this.
- fauigerzigerk 11y agoIf "it" includes parallelism then no, libmill has not done it: "Libmill is intended for writing single-threaded applications." http://libmill.org/documentation.html#multiprocessing http://libmill.org/documentation.html#multiprocessing