Fork me on GitHub
#off-topic
<
2022-07-21
>
bherrmann12:07:28

Is there a tool which can covert Java code to Clojure, or vice versa? or for that matter, any programming language to any other programming language. for example, Ada <-> Javascript

p-himik12:07:07

There's a project to convert from JS to CLJS: https://github.com/roman01la/javascript-to-clojurescript

šŸ‘ 2
emccue18:07:59

nerd sniping

šŸ˜„ 1
borkdude21:07:35

There is an improved version by @U3Y18N0UC on Gitlab I think for JS -> CLJ

isak22:07:02

Can anyone recommend a good technology for running untrusted code (ideally not in an obscure language) that has good isolation and allows restricting memory/cpu and other shared resources?

dorab22:07:48

What is the threat model? Would a VM be enough?

lsenjov02:07:20

Docker springs to mind, but dorab's right, what's your threat model?

isak02:07:57

Not sure what you mean by that, but it is untrusted code, so can't have it reading my app's data, other customer's untrusted code's data, mining bitcoins, etc

isak02:07:52

I'll look more into Docker though thanks

john03:07:16

A webworker in an iframe is a common sandboxing technique in the JS world

1
john03:07:36

wasm has even better sandboxing semantics, but it's still a bit obscure

1