frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

MicroPython v1.25.0

https://github.com/micropython/micropython/releases/tag/v1.25.0
64•todsacerdoti•5h ago

Comments

est•2h ago
offtopic I am curious anyone tried using micropython to replace CPython o x86 servers?
analog31•2h ago
I've not used MicroPython, but its fork, CircuitPython. My impression is that it's essentially a Python that doesn't interact with an operating system. Thus if there's a reason for a server to have an OS and interact with it, the regular Python would be preferable.

I also don't know how much of the more advanced optimizations of Python are built into MicroPython. There's always a dilemma between making it performant, and making it micro.

matt_trentini•1h ago
Yes, although MicroPython is focused on running on microcontrollers it can be useful if you want to reduce memory consumption, flash space and even startup time on servers.

The challenge is that MicroPython has many fewer standard libraries:

https://github.com/micropython/micropython/wiki/Standard-Lib...

And so many Python libraries targeting CPython won't work out-of-the box and you'll need to modify them or use alternatives that do work on the MicroPython subset.

thaliaarchi•2h ago
I find it interesting that MicroPython's `re` module[0] is implemented with a backtracking regular expression engine from re1.5[1], instead of one of the linear-time engines from the same library. (Russ Cox covers the various engines in the excellent blog series[2] which re1 is a companion to.) I figure the choice was made due to binary size or memory constraints, though they're all quite small.

[0]: https://github.com/micropython/micropython/tree/master/lib/r...

[1]: https://github.com/pfalcon/re1.5/tree/v0.8.2

[2]: https://swtch.com/~rsc/regexp/regexp2.html

matt_trentini•59m ago
Yes, it was chosen for low size and memory constraints. But it is limited in features (like counted repetitions):

https://docs.micropython.org/en/latest/library/re.html

so alternatives to provide additional features have been discussed... Either extending the existing module or swapping to a more feature-rich library. Possibly even doing so for larger micros that can afford the additional flash/memory, though that makes support more challenging.

pjmlp•1h ago
Lots of cool improvements.
antirez•1h ago
Background for folks that are not into MicroPython. This release is so important because MicroPython is almost completely able to replace lower level languages like C for many embedded use cases on the RP20[45]0 and ESP32 and other MCUs at this point, being very solid, fast enough (and thanks to Viper and inline assembly abilities even super fast for critical code paths), portable across MPUs (super important: you can change MCU without rewriting everything), has very good support for SPI and other protocols, and so forth. But... the problem is, before this release MicroPython suffered not the CPU shortage, but RAM shortage: the bytecode needed to stay in memory, and once the program becomes big enough, memory is the bottleneck that limits the project size. To avoid that, you could build your own MicroPython binary with your frozen bytecode inside, in the device flash part, but... if I need to rebuild MicroPython part of the advantage of using it is gone (super fast development cycle is one of those). Well, now, with ROMFS, this is no longer true, MP itself is able to store bytecode in the device flash and execute from there. This makes MP a lot more practical for large embedded projects.
aero-glide2•1h ago
Is there still any point in learning Rust then
actionfromafar•52m ago
You are downvoted, but for some things, no there isn't. MicroPython can be very useful for some use cases and it's safer than C.
anotherpaul•43m ago
Thank you for explaining and giving context.
mrheosuper•51m ago
I want to integrate MP to my project. The core FW is still in c/cpp, but the UI/UX and some logic could be done in Python. But i feel like MP want to be the center of FW.

Human

https://quarter--mile.com/Human
155•surprisetalk•4h ago•67 comments

LLMs get lost in multi-turn conversation

https://arxiv.org/abs/2505.06120
172•simonpure•4h ago•107 comments

Internet Artifacts

https://neal.fun/internet-artifacts/
110•mikerg87•1d ago•15 comments

AlphaEvolve: A Gemini-powered coding agent for designing advanced algorithms

https://deepmind.google/discover/blog/alphaevolve-a-gemini-powered-coding-agent-for-designing-advanced-algorithms/
793•Fysi•15h ago•213 comments

Python lib generates its code on-the-fly based on usage

https://github.com/cofob/autogenlib
90•klntsky•3d ago•30 comments

What is HDR, anyway?

https://www.lux.camera/what-is-hdr/
592•_kush•18h ago•280 comments

Show HN: Muscle-Mem, a behavior cache for AI agents

https://github.com/pig-dot-dev/muscle-mem
173•edunteman•11h ago•39 comments

Self-hostable webhook tester in go

https://testwebhook.xyz
23•muliswilliam•1d ago•2 comments

Show HN: Semantic Calculator (king-man+woman=?)

https://calc.datova.ai
119•nxa•11h ago•126 comments

Working on Complex Systems: What I Learned Working at Google

https://www.thecoder.cafe/p/complex-systems
8•0xKelsey•1d ago•1 comments

Git Bug: Distributed, Offline-First Bug Tracker Embedded in Git, with Bridges

https://github.com/git-bug/git-bug
214•stefankuehnel•1d ago•72 comments

Changes since congestion pricing started in New York

https://www.nytimes.com/interactive/2025/05/11/upshot/congestion-pricing.html
265•Vinnl•1d ago•338 comments

A server that wasn't meant to exist

https://it-notes.dragas.net/2025/05/13/the_server_that_wasnt_meant_to_exist/
305•jaypatelani•15h ago•88 comments

NASA Stennis Releases First Open-Source Software

https://www.nasa.gov/centers-and-facilities/stennis/stennis-first-open-source-software/
35•mindcrime•1d ago•18 comments

Internet Scrabble Club (2002-)

https://isc.ro/
39•indigodaddy•3d ago•11 comments

Critical Warning for External Purchases in Apple App Store

https://mjtsai.com/blog/2025/05/14/critical-warning-for-external-purchases-in-app-store/
6•mpweiher•22m ago•1 comments

Databricks acquires Neon

https://www.databricks.com/blog/databricks-neon
312•davidgomes•20h ago•197 comments

The cryptography behind passkeys

https://blog.trailofbits.com/2025/05/14/the-cryptography-behind-passkeys/
201•tatersolid•19h ago•171 comments

Migrating to Postgres

https://engineering.usemotion.com/migrating-to-postgres-3c93dff9c65d
154•shenli3514•9h ago•138 comments

Our narrative prison

https://aeon.co/essays/why-does-every-film-and-tv-series-seem-to-have-the-same-plot
144•anarbadalov•14h ago•117 comments

Hegel 2.0: The imaginary history of ternary computing (2018)

https://www.cabinetmagazine.org/issues/65/weatherby.php
42•Hooke•2d ago•4 comments

How to Build a Smartwatch: Picking a Chip

https://ericmigi.com/blog/how-to-build-a-smartwatch-picking-a-chip/
256•rcarmo•23h ago•105 comments

Updated rate limits for unauthenticated requests

https://github.blog/changelog/2025-05-08-updated-rate-limits-for-unauthenticated-requests/
77•xena•5d ago•98 comments

StackAI (YC W23) Is Hiring Pydantic and FastAPI Wizard

https://www.ycombinator.com/companies/stackai/jobs/8nYnmlN-backend-engineer
1•baceituno•9h ago

MicroPython v1.25.0

https://github.com/micropython/micropython/releases/tag/v1.25.0
64•todsacerdoti•5h ago•11 comments

Smalltalk-78 Xerox NoteTaker in-browser emulator

https://smalltalkzoo.thechm.org/users/bert/Smalltalk-78.html
81•todsacerdoti•13h ago•29 comments

How the economics of multitenancy work

https://www.blacksmith.sh/blog/the-economics-of-operating-a-ci-cloud
156•tsaifu•17h ago•34 comments

Interferometer Device Sees Text from a Mile Away

https://physics.aps.org/articles/v18/99
219•bookofjoe•4d ago•55 comments

Getting Started with Celtic Coins – Crude and Barbarous, or Just Different?

https://collectingancientcoins.co.uk/getting-started-with-celtic-coins-crude-and-barbarous-or-just-different/
52•jstrieb•4d ago•10 comments

UK's Ancient Tree Inventory

https://ati.woodlandtrust.org.uk/
65•thinkingemote•20h ago•53 comments