---
draft: true
publish: false
---
- MixaMega: or maybe rewrite the server in cpp  
- MixaMega: would be fun  
- MixaMega: i always thought about using the smaller js engines for scripting  
- MixaMega: like duktape  
- MixaMega: but why not use the full on v8  
- MixaMega: theres a wrapper called v8pp  
- MixaMega: which is literally just isolated-vm  
- MixaMega: but with class bindings too  
- MixaMega: maybe even make the server modular so you can use more languages than just js  
- MixaMega: but then you do lose out on npm modules  
- MixaMega: hm  
- MixaMega: ooh https://nodejs.org/api/embedding.html  
- MixaMega: hmm no  
- MixaMega: too complex  
- MixaMega: having both might be good  
- MixaMega: node hill with no vm and cpp server  
- MixaMega: so they can choose  
- BunnyNabbit “Aon”: my pnpm hurts so bad  
- BunnyNabbit “Aon”: it might be pretty painful to try installing zhe module in zhe first place  
- MixaMega: you need to install 5.0.4  
- BunnyNabbit “Aon”: my VMs are very isolated. it worked  
- BunnyNabbit “Aon”: quite slow when calling a bunch of callbacks in sync mode  
- BunnyNabbit “Aon”: but if i give it `{ sync: true, ignored: true }`, it's a lot faster at zhe cost of errors being emitted  
- BunnyNabbit “Aon”: it does block zhe zhread when i do zhis zhough. maybe it isn't too good to do zhat  
- BunnyNabbit “Aon”: so i have zhis now. But i am not exactly sure what else it should do? It can set and read blocks, and zhat's about all.  
- BunnyNabbit “Aon”: Maybe limit its scope. What could it do if it didn't have access to setting or even reading blocks?  
- BunnyNabbit “Aon”: I have zhis zhing called a homebase. Zhough I want portals to be created in-game, it could probably be done wizh scripting too. Maybe have teleports if zhe user gave zhe level permission to do so.  
- BunnyNabbit “Aon”: It could probably hand itself well to sending messages. Zhough, I'll have to be cautious in its implementation. I don't want users to fall for impersonation attacks.  
