News for hackers. Stuff that matters.
Re:Show HN: ScrapScript – The Sharable Programming Language by will5421 on Saturday April 29, 2023 @12:55PM (#35754680)
One cool thing, I think, is that you can do

import foo/bar

And foo's bar library will just work in your program without you having to download it then bundle it. It will just look for foo’s bar library online when it runs (and I guess it’ll be running on an online platform, not necessarily on your own computer).

Re:Show HN: ScrapScript – The Sharable Programming Language by ivanjermakov on Saturday April 29, 2023 @09:18PM (#35758864)
Sounds quite dangerous...
Re:Show HN: ScrapScript – The Sharable Programming Language by surprisetalk on Saturday April 29, 2023 @09:28PM (#35758910)
It's only dangerous in very predictable circumstances :)

Type-safety guarantees that you won't get any side-effects where the types don't fit.

And if you really want to run untrusted code, scraps are designed to be very easy to inspect :)