Hacker News new | past | comments | ask | show | jobs | submit login
LabStack: Multi-language programming playground (labstack.com)
53 points by vishr on Sept 7, 2019 | hide | past | favorite | 13 comments



From 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.


You might like this: https://news.ycombinator.com/item?id=20542258

MetaCall: Inter-language foreign function interface calls


Interesting, but it doesn't quite pass the 'easily' test.

:-)


So how is it so fast?


Cool. Running a Haskell program with a compiler error doesn't show the error.


This is kind of cool. How do you prevent people from running malicious code?


Id imagine that they take the same kind of approach that I do with https://perl.bot/ using the Linux namespace apis, seccomp and more.


Very good question! I just take care of it. memory, cpu & disk. (Including fork bomb)!


Nice! Consider adding Lisp, scheme, forth?


Proposal to add support for perl6, d, zig?


Doesn't Perl6 have a pretty extensive ability to call other languages like Python, Lua, Ruby, C...etc?


C, C++, perl5, possibly python (not sure there), and any jvm language if you use the jvm version.


Was 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!");
    }
  }




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

Search: