this post was submitted on 16 Aug 2023
48 points (91.4% liked)

Programming

17313 readers
34 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
top 13 comments
sorted by: hot top controversial new old
[–] BobbyBandwidth 23 points 1 year ago (3 children)

They say they they wrote it in 10k lines, while twitter was 1M, but are they including all the packages they’re using (assuming that they are)? Like I can say I built a website with 100 lines, but in reality if you compile all the packages I’m using it’s a shit ton more than that.

Just a lazy thought out loud. Idk I’m probably being dumb

[–] Potatos_are_not_friends 12 points 1 year ago (1 children)

Not dumb at all and it's kinda annoying when people brag about LoC.

[–] [email protected] 6 points 1 year ago

The second bullet point explains it. The whole point is not about building a Twitter clone, it's about how the framework they are selling enables building highly-scalable apps with much less code required.

So, in this case, the LoC really is the point

[–] [email protected] 7 points 1 year ago (1 children)

Yeah, BRB, moving 90% of my codebase into an "external" library

[–] BobbyBandwidth 1 points 1 year ago

My app was written in one line: yarn run dev.

[–] [email protected] 4 points 1 year ago

Not a package but a service or framework dependency:

Our implementation is built on top of a new platform called Rama that we at Red Planet Labs have developed over the past 10 years. This is the first time we’re talking about Rama publicly. Rama unifies computation and storage into a coherent model capable of building end-to-end backends at any scale in 100x less code than otherwise.

[–] [email protected] 16 points 1 year ago

Right now it's an ad for their platform/framework.

When they release it as open source supposedly in two weeks it may be something !programming.

[–] wosat 9 points 1 year ago

And it's written in Java. Even though I'm not a huge fan of Java, it's almost refreshing to see a new project claiming high performance that isn't written in Rust or Go.

[–] [email protected] 5 points 1 year ago (1 children)

Souns too good to be true, there gotta be some catch.

[–] computergeek125 3 points 1 year ago

First catch is probably the LoC used to make that engine they're talking about they wrote it in. You can set up an entire rudimentary webserver in Python in a dozen or so lines by starting off with import http.server. It won't be a good production ready HTTP server but it will serve HTTP

[–] [email protected] 4 points 1 year ago

Huh. This looks… very cool. Hopefully, it’s true

[–] [email protected] 3 points 1 year ago

Do Lemmy next.

[–] [email protected] 2 points 1 year ago

Isn't 99% of Twitter code the tracking and spoonfeeding of sponsored content?