News for hackers. Stuff that matters.
Re:Swift is a more convenient Rust by andrekandre on Saturday January 31, 2026 @10:24PM (#46843334)

  > imports are all implicitly module-scoped, meaning that changing a single file means recomputing the types for all files in the module
i've noticed this too... i wonder if doing scoped importing helps with this for example:

  import struct MyModule.MyStruct
Re:Swift is a more convenient Rust by JackYoustra on Monday February 02, 2026 @11:17AM (#46857743)
iirc you can't do this for extensions which being a huge amount of compiler constraint resolution time
Re:Swift is a more convenient Rust by andrekandre on Friday February 06, 2026 @08:14PM (#46920299)
interesting, so maybe a good recommendation would be to not go overboard with too many public extensions... hmm...