are you planning a scripting language for building apps?

Reply to this note

Please Login to reply.

Discussion

yup

I like this guy. He is thinking all the right things.

Though I recommend WASM instead of a scripting language. The bugger is exposing a good gui or rendering target to it.

we are using wasm

With Wasi? Or an all custom API?

wasi doesn’t really make sense for nostr apps, its a custom api

Looking forward to the rust crate for it!

its not the main focus right now. we're focused around just rust crates for each app. loading them dynamically would be really cool, it would just require a lot more sandboxing and we're not there yet.

I do plan on using nostrscripts (wasm) for other things in the meantime. like powering algo feeds and content filters.

Yeah. Working first is important. But I look forward to the day that an application is a nostr event containing the WASM. Then "installing" it happens across all devices simultaneously. Locally cached of course.

with that knowledge, sounds like you better get to work helping out.

My excuse is the five month old baby sleeping on my chest at the moment and five other kids eating lunch. I don't get free time, but yes I have a very similar project going just not based on Nostr.

I also help out at gitcitadel when I can. It just hasn't been much since the baby was born.

if it’s wasm could apps be written in js or python?

yup, but AssemblyScript is recommended for small size

(I wrote the https://zap.army script in assemblyscript). its tiny.

nscript1qpshxmgpqqqqqqgtqfsqxlml0uqh7cqqqqppsqg9dehhxarjpehx7um5wf0hxet5ta3x7mmvqqqqxqspqyzsxqgqqyrs5qgxd4jk6mmj0ypqqzqpqyxqzqs2z5q3xqzp5qyyr8qg9qpqqsgpweqsqyqqrg9skggzqpqcczqtqywqqsvcpq93xqsqqqqqcqqqqphqqmcq0gqxzqrsqpesehczp5

makes sense. but something like js would make it super easy for most folks to hack something together.