Readit News logoReadit News
zevv commented on New 3D Laser Scanner Developed for Harvesting Robots   uni-wuerzburg.de/en/news-... · Posted by u/PaulHoule
zevv · a month ago
Oooh, now I see. it's for harvesting robots, not for harvesting robots! Silly me.
zevv commented on ThinkBook Plus Gen 6 – Lenovo’s rollable laptop   theverge.com/reviews/7174... · Posted by u/xrayarx
njuber · a month ago
Cool but I just want mouse buttons. Why did we stop doing mouse buttons? Clickpads are horrible and I'm worried that we are forgetting what we've lost.
zevv · a month ago
Oh boy, I feel you, having no buttons is such a PITA. I've mapped my caps lock and windows button to LMB and RMB for years, works like a charm!
zevv commented on Staying cool without refrigerants: Next-generation Peltier cooling   news.samsung.com/global/i... · Posted by u/simonebrunozzi
otikik · 2 months ago
Mandatory Technology Connections video about Peltier cooling, "Why Thermoelectric Cooling Is Inefficient":

https://www.youtube.com/watch?v=CnMRePtHMZY

zevv · 2 months ago
Could you summarize the contents of this video so we don't have to watch it?
zevv commented on A 14kb page can load much faster than a 15kb page (2022)   endtimes.dev/why-your-web... · Posted by u/truxs
zevv · 2 months ago
And now try to load the same website over HTTPS
zevv commented on Lua beats MicroPython for embedded devs   embedded.com/why-lua-beat... · Posted by u/willhschmid
conaclos · 2 months ago
It is a RP2040. We plan to eventually upgrade to RP2350B.
zevv · 2 months ago

Deleted Comment

zevv commented on Lua beats MicroPython for embedded devs   embedded.com/why-lua-beat... · Posted by u/willhschmid
conaclos · 2 months ago
I am currently working on an embedded system with 264Kb of RAM and 4Mb of flash. Do you think Lua could be used in such limited settings? I am also considering the berry scripting language [0].

[0] https://berry-lang.github.io/

zevv · 2 months ago
That sounds like something the size of an ESP32.

Assuming your flash allows XIP (execute in place) so all that memory is available for your lua interpreter data, you should at least be able to run some code, but don't expect to run any heavy full applications on that. I don't know Berry but it sounds like a better fit for the scale of your device.

But sure, why not give it a try: Lua is usually easy to port to whatever platform, so just spin it up and see how it works for you!

zevv commented on Lua beats MicroPython for embedded devs   embedded.com/why-lua-beat... · Posted by u/willhschmid
Palomides · 2 months ago
is anyone "serious" using micropython or lua for embedded work?
zevv · 2 months ago
I have been developing Lua-heavy embedded products as a freelancer for about 20 years now, including VoIP devices, home automation controllers, industrial routers, digital video recorders, and more. These systems typically consist of a Linux kernel, some libc implementation, the lua interpreter and a few 3d party libs support libs to help building the app. The Lua apps ranges from 30k to 100k lines of code, depending on the application. Some of these devices can be considered 'small' in 2025 terms: 8MB of flash, 64MB of ram. Lua is doing great here.

All of these products are still alive today, actively supported and making my customers good money.

Some things come very natural to Lua: Lua <=> C interfacing is a breeze, and while some modern languages are still struggling to figure out how to do proper async, Lua has been able to do this for decades. The language itself is minimal and simple but surprisingly powerful - a few smart constructs like coroutines, closures and metatables allow for a lot of different paradigms.

For new projects at this scale, I would still choose Lua + C/C++ as my stack. Over the last few years I have been visiting other ecosystems to see what I'm missing out on (Elixir, Rust, Nim), and while I learned to love all of those, I found none of them as powerful, low-friction and flexible as Lua.

zevv commented on What MS-DOS Can Do That Linux Can't   webarchive.me/geocities/S... · Posted by u/wizardforhire
farseer · 3 months ago
The article seems atleast 20 years old (Geocities archive). So in that context, your PCB would not have been able to run linux in 2 seconds.
zevv · 3 months ago
I'm afraid it would: in 2002 I was involved with the development of a very early wifi AP implementation at Freehosting; this was running uclinux on an ARM7 with a pretty bare kernel and the whole OS fitting in under a megabyte. Booting was already pretty much instantaneous then.
zevv commented on What MS-DOS Can Do That Linux Can't   webarchive.me/geocities/S... · Posted by u/wizardforhire
zevv · 3 months ago
This article is partly wrong, and partly nonsense. Apples and oranges. But still:

> Work with only 3 files [...] Boot in under 5 seconds [...] Use commands without spaces [...] Run CPU opcodes natively [...] Be real

I have a little PCB here on my desk that runs linux with 2 files: vmlinux and busybox. It boots in about two seconds and yes, it runs CPU opcodes natively.

I'm not sure how being able to use commands without spaces or running in real mode is considered better or worse than the alternatives.

u/zevv

KarmaCake day1104May 14, 2016View Original