Diggy Newsletter #4

Howdy! Hope you are staying safe and sane during these times. It took me longer to write this update, and here’s why. For the last weeks, I’ve been working like a beaver on async functionality for a WASM kernel, and I’ll be frank with you. It’s hard. I feel that I’ve almost reached the point when I’m hitting a nasty wall and need to take a little step back. While it feels great to drive an experimental project on cutting-edge technologies and run Python reactively in the browser without relying on server-side code; in reality, it’s a rabbit’s hole. Emscripten (a compiler toolkit to WebAssembly) already supports asyncify, allowing one to yield results to the Javascript event loop and handle...

Diggy Newsletter #3

Hey everyone. Wow, it’s 2021 already. How are you? Diggy registration is open! But let talk for a moment about security and what makes Diggy a safe environment. As you can imagine, one can write a python code and someone else will run it in a browser, so how do we defend a user? There’re several layers of protection that I’m going to cover in this update. First of all, under the hood Diggy is running two “applications”: the main application and the runtime. I’ll explain in a second why it is crucial to do it that way. Say a user writes the following code (bare with me, it’s javascript for the sake of the demo): var div = document.createElement('div')...

Diggy Newsletter #2

Hi everyone. As 2020 nears the end, I want to take a moment to say thank you and wish everyone “Happy holidays”. 2020 was a very strange year. We saw lots of different things. I saw Times Square without people. I never spend so much time at my home. Anyway, the year is almost over, and I’m trying to come up with a message that I’d like to use today. I think the one I’d like to say is “We’ll stay together no matter what”. Here’s the last update of the year. I added a few more examples to show what you can do when Python runs in the browser: Sqlite. Create & query an in-memory Sqlite database right in...

Diggy Newsletter #1

Hi everyone. My name is Kirill (or you may know me by oneearedrabbit on HN), and I’m a founder of Diggy . I want to thank everyone who tried Diggy so far. I cannot be happier to see you and have a chance to talk to you! I hope to send you short (and hopefully sweet) updates every two weeks to explain what’s been done and what’s the motivation behind Diggy and its design principles. If you’re looking for more/less regular updates, let me know, there’re other options on how to make it happen. You can scroll all the way down to see what’s new. As a full disclosure, Diggy is not the first (honestly speaking, it’s far from being...