Live data from Hacker News

Scrapscript: A functional, content-addressable programming language

github.com

21–30 of 43 posts

Re: Scrapscript: A functional, content-addressable programming language

#22

> Scrapscript solves the software sharability problem. > it’s JSON with types and functions and hashed references > it’s tiny Haskell with extreme syntactic consistency Content-addressability is one of the main features of Unison [1]. How do the languages compare? Why did you feel the need to create a new language (especially since both have a strong Haskell flavor). I'm guessing lots of people will have these questi…

Great questions and observations! -- > Why did you feel the need to create a new language? Well when I started on this language in 2017-2019(?), I definitely wasn't aware of Unison. I remember talking to Richard Feldman about scrapscript when he first started working on Roc (fun fact: I was the first person Feldman added to the private repo!). I spent a long time on the initial Scrapscript implementations, trying to…

Can't sprinkle SHA on something and raise venture capital? Ahem, behold Bitcoin. :)

Re: Scrapscript: A functional, content-addressable programming language

#23

Hi! It's me, I'm one of the interpreter and compiler authors. Happy to answer questions

What is the runtime thing I run on a machine in order to support shipping code around? How does that work? Unison makes reference to a node I also could find scant details of rust.

I'm not 100% sure what you're asking. The package manager equivalent is in development but currently looks like a tiny wrapper around a hash->serialized_program database.

Re: Scrapscript: A functional, content-addressable programming language

#25

Hi! It's me, I'm one of the interpreter and compiler authors. Happy to answer questions

What is the runtime thing I run on a machine in order to support shipping code around? How does that work? Unison makes reference to a node I also could find scant details of rust.

I think you need Python to be running the script on each machine.

Re: Scrapscript: A functional, content-addressable programming language

#26
post #20

Earlier quoted context omitted.

Great questions and observations! -- > Why did you feel the need to create a new language? Well when I started on this language in 2017-2019(?), I definitely wasn't aware of Unison. I remember talking to Richard Feldman about scrapscript when he first started working on Roc (fun fact: I was the first person Feldman added to the private repo!). I spent a long time on the initial Scrapscript implementations, trying to…

> I think defeating alcoholism also made me much more productive haha Just out of curiosity and because we all have different limits - how much do you think you used to drink, generally, and what helped you quit?

Before I quit, it was ~6 drinks per day minimum.

Here's the essay I wrote when I decided to quit:

[1] https://taylor.town/1000-weekends

Here was my 8-week progress report:

[2] https://taylor.town/8-weekends

Right now I'm 96 weeks in! Going great!

If you need any support/encouragement, always feel free to email me at hello@taylor.town :)

Re: Scrapscript: A functional, content-addressable programming language

#27

Earlier quoted context omitted.

What is the runtime thing I run on a machine in order to support shipping code around? How does that work? Unison makes reference to a node I also could find scant details of rust.

I think you need Python to be running the script on each machine.

You can also compile a scrap to C (and then probably from there to native, or apparently with pnut you can now compile to shell...)

Re: Scrapscript: A functional, content-addressable programming language

#28
As the author of another language with uses content addressable code for all source code (also to aid in shareable code - https://yazz.com/app/homepage.html) I feel that it is really good to see that projects such as ScrapScript use this technique. Well done guys!

Re: Scrapscript: A functional, content-addressable programming language

#29

Earlier quoted context omitted.

Great questions and observations! -- > Why did you feel the need to create a new language? Well when I started on this language in 2017-2019(?), I definitely wasn't aware of Unison. I remember talking to Richard Feldman about scrapscript when he first started working on Roc (fun fact: I was the first person Feldman added to the private repo!). I spent a long time on the initial Scrapscript implementations, trying to…

Can't sprinkle SHA on something and raise venture capital? Ahem, behold Bitcoin . :)

Bitcoin was not VC funded

Re: Scrapscript: A functional, content-addressable programming language

#30
post #29

Earlier quoted context omitted.

Can't sprinkle SHA on something and raise venture capital? Ahem, behold Bitcoin . :)

Bitcoin was not VC funded

... but a bunch of companies were, and a lot of the claims about what web3 was going to be were really vague
Post reply on HN