top | item 20901246

LabStack: Multi-language programming playground

53 points| vishr | 6 years ago |code.labstack.com

13 comments

order

kwhitefoot|6 years ago

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.

Uptrenda|6 years ago

So how is it so fast?

xixixao|6 years ago

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

rosenjon|6 years ago

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

simcop2387|6 years ago

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.

vishr|6 years ago

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

gumby|6 years ago

Nice! Consider adding Lisp, scheme, forth?

earenndil|6 years ago

Proposal to add support for perl6, d, zig?

6thaccount2|6 years ago

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

hliyan|6 years ago

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