News for hackers. Stuff that matters.
Re:Two years of Rust by bluejekyll on Monday May 15, 2017 @07:34PM (#14346152)
I don't know... I really think it depends on the audience you're catering to. As someone who only ever deals with compiled languages, this has never seemed to be a problem.

Now, viewing this as someone coming from Python, Ruby, Node, etc., I can see compilation as being annoying. Is it really the only reason that they are disliking the language or is that just a strawman?

I wonder if too much attention is being paid to this. Now there are legitimate things we can focus on, such as making cached precompiled libraries very easy to use. This can especially be important in CI environments... This would also generally make most compilations fast.

Re:Two years of Rust by steveklabnik on Monday May 15, 2017 @07:48PM (#14346232)
> such as making cached precompiled libraries very easy to use.

This is already true today; that is, this cost is only paid the first time you compile. It's still not fast enough for people.

On my machine, a fresh build of rustc takes an hour, and small changes take 20 minutes, and even that makes it a giant pain. It's an ergonomic thing, IMO.

Re:Two years of Rust by bluejekyll on Monday May 15, 2017 @08:32PM (#14346475)
I should have been more clear; I mean a solution for many devs to pull precompiled caches, and share those for the same version of libraries... this would also benefit CI, as all CI runs to be based off this.
Re:Two years of Rust by kibwen on Monday May 15, 2017 @07:55PM (#14346262)
> a fresh build of rustc takes an hour

A bit influenced by the fact that rustc has to compile itself three times. :P

Re:Two years of Rust by steveklabnik on Monday May 15, 2017 @08:26PM (#14346437)
Sure, but as with all end-user stuff, I don't care what it has to do, just that it has to do it.
Re:Two years of Rust by pjmlp on Tuesday May 16, 2017 @02:25AM (#14347756)
Turbo Pascal 5.5 was compiling 34,000 lines/minute.

https://edn.embarcadero.com/article/20803

And even today Delphi 10 is quite fast.

Same applies to many other compiled languages with modules.

Re:Two years of Rust by bluejekyll on Tuesday May 16, 2017 @03:16AM (#14347909)
I haven't worked with Pascal since 1999, I remember it being a much simpler language.

And no where near as fun. Hilarity ensued when I didn't realize there was no garbage collector.

Re:Two years of Rust by pjmlp on Tuesday May 16, 2017 @03:32AM (#14347968)
Pascal and Turbo Pascal aren't the same thing.

Turbo Pascal was more a kind of simplified Ada than a pure Pascal, which made me look down on C when checking down the laundry list of language features of Turbo Pascal 6.0 versus ANSI C89 in 1993.

Also by 1999 no one was doing anything serious in Turbo Pascal with the last version being targeted at Windows 3.1.

Delphi 1.0 was released for Windows 95, and it did at least have some kind of GC for COM based classes.

Also Delphi 10 might not have every Rust feature, but it surely has it own set of complex language features.

Or if you prefer Ada, C#, D are also possible sources of information regarding performance of compilation toolchains, with relatively complex languages.