3 ms·
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 b
by bluejekyll 9y ago
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.
- steveklabnik 9y ago> 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.
- kibwen 9y ago> a fresh build of rustc takes an hour A bit influenced by the fact that rustc has to compile itself three times. :P
- steveklabnik 9y agoSure, but as with all end-user stuff, I don't care what it has to do, just that it has to do it.
- bluejekyll 9y agoI 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.
- pjmlp 9y agoTurbo Pascal 5.5 was compiling 34,000 lines/minute. https://edn.embarcadero.com/article/20803 https://edn.embarcadero.com/article/20803 And even today Delphi 10 is quite fast. Same applies to many other compiled languages with modules.
- bluejekyll 9y agoI 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.
- pjmlp 9y agoPascal 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.