2 ms·
One of the problems with running the application code inside the database server is that you need to make application developers use the programming language(s)
by toolslive 2mo ago
One of the problems with running the application code inside the database server is that you need to make application developers use the programming language(s) you prepared for them. The other is that you need to trust them to not do crash out, or do infinite loops. Good luck moving application developers from their choice into the right choice.
- wizzledonker 2mo agoThis is why you need to compile your code for spacetimedb to WebAssembly and it runs inside a VM. Use the language of your choice, and assume the code is only semi-trusted with the ability to have a watchdog. That part makes sense.
- JSR_FDED 2mo agoThis is easy to fix. The SpacetimeDB folks could just add a phase to analyze the application developer’s code before running it to prove that it will definitely halt.
- toolslive 2mo agothe halting problem?
- cmrdporcupine 2mo agoi think that's the joke, my friend
- cloutiertyler 2mo agoI'm a SpacetimeDB dev. We do not need to trust them, we employ a system like Ethereum's gas limits to prevent infinite loops.