Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social  路  activity timestamp 3 days ago

This is the #bootstrapping story of the language everybody talks about.

I don't like this. It's shameful.

This is what happens when you only look to one problem and don't care about anything else.

A terminal window that shows the rust bootstrapping chain, listing many versions of the language being downloaded one after the other. The newer ones being larger than previous ones. Hundreds of megs each.
A terminal window that shows the rust bootstrapping chain, listing many versions of the language being downloaded one after the other. The newer ones being larger than previous ones. Hundreds of megs each.
A terminal window that shows the rust bootstrapping chain, listing many versions of the language being downloaded one after the other. The newer ones being larger than previous ones. Hundreds of megs each.
  • Copy link
  • Flag this post
  • Block
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social replied  路  activity timestamp 3 days ago

Oh there are more coming

More rust versions being installed, these are even larger
More rust versions being installed, these are even larger
More rust versions being installed, these are even larger
  • Copy link
  • Flag this comment
  • Block
aemogie
aemogie
@aemogie@tech.lgbt replied  路  activity timestamp 2 days ago

@ekaitz_zarraga they zero-cost abstracted it so hard

  • Copy link
  • Flag this comment
  • Block
Wim鈸傦笍
Wim鈸傦笍
@wim_v12e@merveilles.town replied  路  activity timestamp 3 days ago

@ekaitz_zarraga Wow, from 60 MB to 400 MB, quite an increase. I wonder right away if a compiler really has to be that large.

  • Copy link
  • Flag this comment
  • Block
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social replied  路  activity timestamp 3 days ago

@wim_v12e From my point of view: no.

But I'm a simple man.

  • Copy link
  • Flag this comment
  • Block
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social replied  路  activity timestamp 3 days ago

@wim_v12e And also not only that 60 -> 400MB increase, but also that it is cumulative!

For the 400MB to be built you need all the previous steps!

  • Copy link
  • Flag this comment
  • Block
Wim鈸傦笍
Wim鈸傦笍
@wim_v12e@merveilles.town replied  路  activity timestamp 3 days ago

@ekaitz_zarraga And that is the only way to make it work on a new architecture? So if you don't have a lot of disk space and fast internet access, it's not possible. Not very inclusive.

  • Copy link
  • Flag this comment
  • Block
simendsjo
simendsjo
@simendsjo@fosstodon.org replied  路  activity timestamp 3 days ago

@ekaitz_zarraga I hope this is just because it's the easiest path. There is surely a much shorter path available. They cannot create new features each release and start using them immediately? And have no stages/core or similar? ... it's not like Rust have the fastest compile times around either ;)

  • Copy link
  • Flag this comment
  • Block
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social replied  路  activity timestamp 3 days ago

@simendsjo AFAIK they write the next compiler using features of the last one. That's the only guarantee they give from the bootstrapping perspective.

I might be wrong though.

  • Copy link
  • Flag this comment
  • Block
simendsjo
simendsjo
@simendsjo@fosstodon.org replied  路  activity timestamp 3 days ago

@ekaitz_zarraga I was more thinking along the lines that the compiler was sticking to a small subset of the features rather than using the full language to avoid having this kind of bootstrapping.

  • Copy link
  • Flag this comment
  • Block
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social replied  路  activity timestamp 3 days ago

@simendsjo That would be the sanest approach :)

  • Copy link
  • Flag this comment
  • Block
Elias M氓rtenson
Elias M氓rtenson
@loke@functional.cafe replied  路  activity timestamp 3 days ago

@ekaitz_zarraga Wait what? Is this what I thing it is?

Every version must be compiled by the previous one?

  • Copy link
  • Flag this comment
  • Block
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social replied  路  activity timestamp 3 days ago

@loke Yes, that's exactly what it is.

  • Copy link
  • Flag this comment
  • Block
Ekaitz Zarraga 馃懝
Ekaitz Zarraga 馃懝
@ekaitz_zarraga@mastodon.social replied  路  activity timestamp 3 days ago

@loke EXTRA: they add a new version each 2 months

  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About 路 Code of conduct 路 Privacy 路
Bonfire social 路 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct