ENGINEERING ★ 81 upvotes 2020

As above, so below, part 2. Bare metal Rust generics

Retrospective Overview & Key Insights

Distilled analysis of the business dynamics, operational challenges, and strategic takeaways:

In this technical retrospective (2020), @M2Ys4U shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Founder's Discussion Replies (@M2Ys4U)

Direct clarifications and follow-up comments shared by the author during the live discussion:

OP @M2Ys4U Original Author
2020

NH discussion of part 1 here: https://news.ycombinator.com/item?id=24254048

Community Discussions & Critical Reviews

High-signal perspectives, counter-arguments, and peer founder insights debated on Hacker News (12 total discussions):

SC @scoutt Peer Contributor
We want our driver a bit smarter than that; it should first check whether it's possible to write the bytes directly. In other words, we want to ensure that every 1 in our intended write is also a 1 in the target space.

Is this standard practice? Everyone knows that one should write only on previously erased units (sectors/blocks/pages/whatever). Maybe it's just for the sake of the example, but I think it's kind of insane to produce a routine to check for EVERY BIT and see if it's 1 AND if we can fit whatever we want to write. What are the chances one can overwrite (for example) a string TWICE?

RK @rkagerer Peer Contributor

Anyone out there used Rust on an ATSAML21 MCU? How viable is it these days?

BE @bencollier49 Peer Contributor

Interesting use of the Hermetic Axiom, there. Raised an eyebrow.

RC @rch Peer Contributor

Why are comments by the author (__cuervo) showing up as [dead]?

HISTORICAL ERA Pandemic Bubble (2020–2022)
COMMUNITY SCORE ★ 81 points
TOTAL DISCUSSIONS 12 comments