millsteed's comments

millsteed | 2 years ago | on: Dart/Flutter now has macros/metaprogramming

Don't discount the developer experience too. With the codegen annotations, you either have to check in your .g.dart files to git which could be stale and break compilation in CI, or have them generate in CI, which is unnecessarily slow and eats up CI minutes. Added bonus is the macro API is less complex than the codegen API.

millsteed | 2 years ago | on: Dart/Flutter now has macros/metaprogramming

Yeah, it is. It inspired the reflection in Dart, which inspired the macros. You can only use Dart's reflection when running in VM mode though. Flutter apps use AOT compilation, due to tree-shaking, so you lose the reflection and fall back to having to run codegen - kind of like TypeScript -> JS. This is a nice improvement that is run in memory before compilation and allows better access to the AST.

millsteed | 2 years ago | on: Dart/Flutter now has macros/metaprogramming

Thanks for linking the spec. It has been a living document for a long time. I discovered that the implementation had made it into the SDK's master branch. Since it's very early stage and lacking documentation, I made this repo which demonstrates creating a macro that implements some of the most popular codegen functionality Flutter developers use.

millsteed | 2 years ago | on: Orathan: Cloud Without the Rent

Cloud costs have not kept up with Moore's Law and it is cheaper per year to own bare metal servers. Most developers just want to build their app and not worry about sysadmin. The cloud provides nice abstractions like consoles, CLIs and APIs.

When I moved out of the cloud, I wanted something like an Oxide Computer, but a rack starts at $500k. A lot of people have asked Oxide if they can buy a single sled - but that's not Oxide's focus at this stage of their strategy.

So I bought a Dell and administrated it myself and developed a lot of custom software to manage containers and databases. That's not the experience I want for others, so I've started Orathan to give developers the cloud experience on bare metal.

page 1