7 ms·
LabStack: Multi-language programming playground
- rosenjon 7y agoThis is kind of cool. How do you prevent people from running malicious code?
- simcop2387 7y agoId imagine that they take the same kind of approach that I do with https://perl.bot/ https://perl.bot/ using the Linux namespace apis, seccomp and more.
- vishr 7y agoVery good question! I just take care of it. memory, cpu & disk. (Including fork bomb)!
- xixixao 7y agoCool. Running a Haskell program with a compiler error doesn't show the error.
- Uptrenda 7y agoSo how is it so fast?
- gumby 7y agoNice! Consider adding Lisp, scheme, forth?
- earenndil 7y agoProposal to add support for perl6, d, zig?
- 6thaccount2 7y agoDoesn't Perl6 have a pretty extensive ability to call other languages like Python, Lua, Ruby, C...etc?
- earenndil 7y agoC, C++, perl5, possibly python (not sure there), and any jvm language if you use the jvm version.
- hliyan 7y agoWas considering using this as comparative language teaching tool, and the thing that struck me most was the verbosity of Java compared to other languages: fun main(args: Array<String>) { println("Hello from Kotlin!") } vs. public class Main { public static void main(String[] args) { System.out.println("Hello from Java!"); } }
- kwhitefoot 7y agoFrom the title I was hoping against hope that it would allow me to easily call functions written in one language from functions written in another. Disappointed again.
- pcr910303 7y agoYou might like this: https://news.ycombinator.com/item?id=20542258 https://news.ycombinator.com/item?id=20542258 MetaCall: Inter-language foreign function interface calls
- kwhitefoot 7y agoInteresting, but it doesn't quite pass the 'easily' test. :-)