Oh my god wasm is ready.
-
-
-
if I can't run Emacs, then it is not ready
-
No YOU aren't read!
-
your vim is so primitive, it can be run by js in browser!
-
Yes! Isn't it awesome!
-
I will run your vim inside browser running inside emacs!
-
Your emacs is so primitive it can be run on silicon
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
You can close it by closing the browser tab. That’s cheating!

-
If it doesn't prevent you from closing the browser window, then yeah, it's not the real thing.
-
Sounds like it's ripe for a PR
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
Vim on the web? WHAT IS THIS TERRORISM
-
No! Peace, love and happiness
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
-
-
.
@oni_vim this could potentially be interesting for Oni, if this could be ported to Neovim if I’m not mistaken?

-
That's super cool! Yes, would love a WASM build of
@Neovim - toyed with the idea of running Oni in the browser (w/ a wasm build of Neovim). Imagine it if could pick up your dotfiles from a github repo - and then you can use that online editor w/ your config to do quick edits!
-
Would be a great way to share our tutorials out with a broader audience too - we could make our tutorial experience available on our website.
-
Last time I experimented with it, I hit issues compiling LuaJIT with the emscripten toolchain (
@Neovim has a few extra dependencies that also need to be compiled to WASM, or removed for the WASM build) - need to revisit again sometime! -
So as far as I understand it "only" libnvim would need to be compiled to wasm? After that there would only need to be a new JS API layer on top of their C API?
-
If that's the case - would be easier than what I tried in my first prototype (building the world
) Having the libnvim C API would be great, our JS API shim could have a similiar shape to the msgpack API (and we'd use that as opposed to the stdio msgpack transport we have today) -
The vimr project seems to have a fork where compiling libnvim boils down to "make libnvim" but I'm really shit at CMake

https://github.com/qvacua/neovim -
Nice! I think there is still one dependency still on `libuv`. Couple possibilities - get `libuv` working w/ wasm or sidestep it and see if we can shim in an alternate browser-backed implementation for the specific libuv functionality libnvim uses.
কথা-বার্তা শেষ
নতুন কথা-বার্তা -
লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।
টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।