older_code

joined 3 months ago
[–] older_code@lemmy.world 1 points 1 hour ago* (last edited 1 hour ago)

In compiled code the less instructions you need the smaller the binary, the smaller the binary the faster the cold start - this is not rocket science

These libraries are designed to optimize code reuse to reduce overall binary size and code complexity.

[–] older_code@lemmy.world 1 points 1 hour ago

The code and read me was a bot I was driving but I assure you I am real lol

[–] older_code@lemmy.world 1 points 2 days ago (2 children)

The code loads faster when using the pen because the code footprint is smaller, DynamoDB in AWS sdk is very verbose, using the library means that verbosity is reduced significantly as you incorporate more tables and indexes.

It’s been load tested against code using DynamORM and not using it.

The point is not a few less milliseconds, it’s many hours of reduced development for people implementing DynamoDB

[–] older_code@lemmy.world 1 points 2 days ago

I should also mention I use multiple sessions, one dedicated to planning and auditing and 1-3 worker sessions that get assigned various classes of tasks.

[–] older_code@lemmy.world 3 points 2 days ago (6 children)

One library I made is https://github.com/pay-theory/dynamorm This is a library to make DynamoDB easier to use in Go, it is used alongside https://github.com/pay-theory/lift which provides similar utility for lambdas

Both of these are in active use by our team and were created using Claude code and cursor.

[–] older_code@lemmy.world 7 points 3 days ago (9 children)

I have successfully written and deployed a number of large complex applications with 100% AI written code, but I micromanage it. I’ve been developing software for 30 years and use AI as a sort of code paintbrush. The trick is managing the AI context window to keep it big enough to understand its task but small enough to not confuse it.