Hacker News new | more | comments | ask | show | jobs | submit login
SqueakJS – A Squeak VM in JavaScript (bertfreudenberg.github.io)
141 points by joubert on Feb 2, 2015 | hide | past | web | favorite | 10 comments

Also amber smalltalk: http://amber-lang.net/

Any idea what the examples are trying to store offline? And where in the code that is?

Here, let me do the equivilant of LMGTFY: https://github.com/bertfreudenberg/SqueakJS/search?utf8=%E2%...

Looks like it's storing settings, images, and files created by said images.

Reminder that Squeak is a full VM and naturally has file-io abstractions which must be implemented.

Right, brainfart and I couldn't remember the name of that API. Thanks!

Large data (file contents) is stored in IndexedDB, only settings and file meta data in localStorage.

For Scratch in Firefox:

  "Error opening database: undefined" vm.js:358

Edit: Also Etoys, sadly.

Works for me in Firefox 34.0.5, default settings. Would be great if you could post instructions on how to reproduce at https://github.com/bertfreudenberg/SqueakJS/issues

Impressive. Did you realize that after loading doesn't even need internet anymore?

Cool, one of the examples (etoys) crashed Safari (8.0.3) FTL JIT. :)

Yep. I reported that a while ago, but it's not fixed yet: https://bugs.webkit.org/show_bug.cgi?id=136803

Applications are open for YC Summer 2019

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact