Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vshymanskyy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
vshymanskyy
2y ago
Geroyam Slava!
2.
▲
by
vshymanskyy
2y ago
Yes, for these microcontroller-type chips, ahead-of-time compilation would be definitely more suitable. WAMR probably supports it, but you can also to it via WASM2C, easily. I prefer not depending on WAMR, it is very bloated
3.
▲
by
vshymanskyy
2y ago
Correct. I didn't create the tagline, sorry
4.
▲
by
vshymanskyy
2y ago
Yes, Wasm3 also targets Cortex-M4 and even Cortex-M0 :)
5.
▲
by
vshymanskyy
2y ago
Wasm3 happily runs on ESP32, it provides a fully dynamic wasm runtime. But it's much slower than AOT compiled native code, obviously.
6.
▲
by
vshymanskyy
2y ago
This is exactly what wasm2mpy does for MicroPython: Dynamically loaded, AOT-compiled WASM modules
7.
▲
by
vshymanskyy
2y ago
Yes, we're talking about Raspberry Pi Pico (RP2040) here. Not the Linux-based SBCs (Single Board Computers)
8.
▲
by
vshymanskyy
2y ago
For esp32 I'd recommend https://github.com/wasm3/embedded-wasm-apps It obviously depends on your needs/goals. P.S. I'm also the author of wasm3
9.
▲
by
vshymanskyy
2y ago
I don't think .pyc files can contain native code, but .mpy can! And that's exactly what I'm using here: - compile any language to wasm - translate wasm to C99 - use the native target toolchain to compile C99 to .mpy - run tha
10.
▲
by
vshymanskyy
2y ago
Thanks for the feedback. I'll improve the README based on your inputs. I was focused on the actual research. Overall, this allows writing code in statically compiled languages and running it (fast) on embedded systems with MicroPython.
11.
▲
by
vshymanskyy
2y ago
With this approach, wasm is compiled to native code. Translating that to Python is in theory possible, but very impractical.
12.
▲
by
vshymanskyy
2y ago
Author here, ready to answer any questions.
13.
▲
by
vshymanskyy
2y ago
Looks like the migration to CodeMirror 6 is complete! Check out the new look and feel: https://viper-ide.org/ Needs more polishing though...
14.
▲
by
vshymanskyy
2y ago
LMK if anything doesn't work or can be improved. File uploading / downloading is planned further down the road.
15.
▲
by
vshymanskyy
2y ago
Yes, 100%. Besides, the feature analysis was not entirely correct.
16.
▲
by
vshymanskyy
2y ago
You don't need to build it, it's hosted on https://viper-ide.org Also, this is Vanilla JS, so just opening the HTML file locally also works :) P.S. I just realized I'm using the older CodeMirror 5 component for th
17.
▲
by
vshymanskyy
2y ago
Yes this is my side-project. The core of the UI was created by ChatGPT and then polished :) Which basic features are missing from the editor?
18.
▲
by
vshymanskyy
2y ago
Original discussion: https://github.com/orgs/micropython/discussions/15219
19.
▲
Show HN: ViperIDE – MicroPython IDE for web and mobile
(github.com)
115 points
by
vshymanskyy
2y ago
|
15 comments
20.
▲
by
vshymanskyy
3y ago
You're comparing "both sides" as equal, however please consider that this is an unprovoked agression against Ukraine. Russians invaded the foreign territory and are killing and torturing civilians. On day 2, they sent dozens
21.
▲
by
vshymanskyy
3y ago
I see it similarly. It's not easy, both for refugees and those who are still here in Ukraine. However, everyone has a unique story and reasons to see it in a specific light. I know a LOT of people who are hiding, and at the same are do
22.
▲
by
vshymanskyy
3y ago
Hard to tell. It's a full (and dynamic) range. In general the life is mostly the same. Except we need to hide from missiles and drones, help UAF. Some of us have an additional burden of killіng the russkies ;) Oh, we also need to know
23.
▲
by
vshymanskyy
3y ago
Thanks!
24.
▲
by
vshymanskyy
3y ago
Thank you!
25.
▲
by
vshymanskyy
3y ago
True
26.
▲
by
vshymanskyy
3y ago
Undoubtedly. The building itself needs to be deconstructed (as we found out later)
27.
▲
by
vshymanskyy
3y ago
I admire what you're doing! Ukraine still stands because of you and people like you. Be sure, that despite having a destroyed house and maintaining Wasm3 I'm still resourceful enough to: - donate money - donate skills - coordinate
28.
▲
by
vshymanskyy
3y ago
Yeah, for sure - I still do a lot of fun/tech things.
29.
▲
by
vshymanskyy
3y ago
Thanks!
30.
▲
by
vshymanskyy
3y ago
Well, who knows! It's war anyway. At the moment we're in a safe place, for quite some time already.
More ›