Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rockwotj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
rockwotj
3y ago
It is a balance between simplicity, speed and size. They choose size, honesty leb128 isn’t *too* complex (you can see an implementation in my repo I pointed too). But yes they don’t take all the simplicity tradeoffs.
182.
▲
by
rockwotj
3y ago
This is pretty great! I highly recommend building a parser for Wasm, it shows off the nice design that it can be compiled in a streaming fashion and other nice properties. I built a small parser for a wasm runtime I was going to hack at, al
183.
▲
by
rockwotj
3y ago
I honestly don't think I've seen people reason about read committed well, especially as an application grows it becomes very difficult to understand all the cases in which locks are grabbed/data is accessed. (I feel that way
184.
▲
by
rockwotj
3y ago
Someone got around the upvote ring detection? I know there are lots of folks that claim to know how to get around it, but agreed it seems sketchy
185.
▲
by
rockwotj
3y ago
I sort of wish that these could be new additions to proposals/extensions to WASI instead of separate standards
186.
▲
by
rockwotj
3y ago
I feel like we’re having our xkcd competing standards moment for WebAssembly outside the browser. There is WASI (preview1 and preview2 with components), WASIX, and now WALI proposed here.
187.
▲
by
rockwotj
3y ago
Related is libmill, which has been around for awhile and is was previously discussed on HN: https://news.ycombinator.com/item?id=30699829 libmill supports a bunch of stuff like sockets, timers, files, etc.
188.
▲
by
rockwotj
3y ago
I am not implying that. I am just saying it’s more than memory sandboxing Wasm gives.
189.
▲
by
rockwotj
3y ago
Yeah it’s just the stack switching itself that is a handful of cycles, but there is not much more overhead for the full VM switch if you structure your embedding the right way. Code the code is source available if you want to peek at it! h
190.
▲
by
rockwotj
3y ago
I gave a talk at Cloud Native wasm day talking about some of the stuff you can do with a WasmVM. Redpanda (where I work) is a storage engine who’s performance is predicated on kernel bypass (Direct IO, thread per core, locked memory). You c
191.
▲
by
rockwotj
3y ago
I mean Kotlin already does, I believe Java will too, but you’re right that python, js, ruby, golang, rust and c/c++ don’t use Wasm GC
192.
▲
by
rockwotj
3y ago
Sure and containers give you syscall restrictions and OS protections, but you don’t see people embedding containers inside of other applications. People generally sont like sidecars, so embedding wasm makes a lot of sense to have in process
193.
▲
by
rockwotj
3y ago
FWIW Google Cloud Datastore had similar functionality over a decade ago. They are called kindless queries: https://cloud.google.com/datastore/docs/samples/datastore-ki... Essentially it allows for querying ov
194.
▲
by
rockwotj
3y ago
It’s all one department at Rose (my alma mater). The school is a teaching school (meaning research isn’t the faculty’s primary focus)
195.
▲
by
rockwotj
3y ago
Rose Hulman is an undergraduate teaching school that also has a distinction between a Software Engineering Degree and a Computer Science Degree. The Software Engineering degree takes a few less math courses and instead takes classes on QA&#
196.
▲
by
rockwotj
3y ago
I feel like duckdb has been making waves here helping people realize you don’t need snowflake/bigquery/etc for all ypur datasets, but you can still get the nice feature set of those systems
197.
▲
by
rockwotj
3y ago
^ this
198.
▲
by
rockwotj
3y ago
Or python…
199.
▲
by
rockwotj
3y ago
Agreed. Shortwave [1] is built completely on this, but with the added layer of having a leasing system that is per user on top of the tasks. So you only need to `SKIP LOCKED` to grab a lease, then you can grab as many tasks as you want and
200.
▲
by
rockwotj
3y ago
To work with each language's drivers
201.
▲
by
rockwotj
3y ago
You’re not missing anything. The draw of these is a one click opinioned setup (containerized for codespaces). It does save a lot of time, but as someone who enjoys tweaking neovim config I don’t feel the draw. That being said, I did setup a
202.
▲
by
rockwotj
3y ago
https://openai.com/policies/privacy-policy
203.
▲
by
rockwotj
3y ago
Yeah the component model the bytecode alliance is pushing defines a canonical ABI and codegen tools to make this easier (also separating memory from these components so a bug in some random C library doesn’t have a blast radius outside the
204.
▲
by
rockwotj
3y ago
Sure but IMO most code can and should be structured to decouple the side effect from the logic that is being replaced. Example in the transferring a bank balance, you have some storage DB you interact with, but that is an abstraction and wh
205.
▲
by
rockwotj
3y ago
This is awesome thank you!
206.
▲
by
rockwotj
3y ago
I wish there were ways to enforce this on the db so you never accidentally grabbed a table lock during these operations. definitely have shot myself in the foot with postgres on this
207.
▲
by
rockwotj
3y ago
Yeah I feel like if you don’t want to spend time tweaking configs then vscode is just the better option.
208.
▲
by
rockwotj
3y ago
I'm impressed you're already leveraging the component model. I thought it wasn't quite ready for primetime yet, but it seems you're proving that wrong... I'll have to dig in more here, as I'm working embedding
209.
▲
by
rockwotj
3y ago
Appreciate your hustle! ABC
210.
▲
by
rockwotj
3y ago
Congrats on the release! Question how did you come up with your the languages you support. Obviously how well the language compiles to Wasi is a factor, but how did you end up picking C# for instance? Additionally how does Javascript suppor
More ›