4 ms·
> I would look at Crystal, Go, Haskell, OCaml, or Rust rather than the usual dynamic language suspects Or, you know, go full obfuscation: minify your JavaScrip
by zamfi 7y ago
> I would look at Crystal, Go, Haskell, OCaml, or Rust rather than the usual dynamic language suspects
Or, you know, go full obfuscation: minify your JavaScript before your ship it!
Back in the day, we used Mozilla's Rhino as a JS engine -- if you're not familiar, it was a JS engine that compiled JS to Java byte code, literally putting the Java in JavaScript (or vice versa?). IIRC every function became a Java class, which made for some serious weirdness when it came to debugging garbage collection (new anonymous function? more permgen usage!)...
We shipped a .jar for on-prem installation. Needless to say, anyone who tried to decompile got a hilariously confusing set of Java code. :)