News for hackers. Stuff that matters.
Re:When did software go off the rails? by RcouF1uZ4gsC on Wednesday August 16, 2017 @09:27PM (#15032934)
I think it started when we went away from native compiled languages. Visual Studio 6 was in my opinion the best version in terms of responsiveness/functionality. After that, with .Net, Visual Studio started including more .Net code and become more and more slow over time. Over time, people slowly got used to their applications being slower and slower. Then the web came and people started writing apps in Javascript. The Javascript apps are not too bad compared to the .Net apps, so people did not notice. However, if you were comparing them to Pascal/C/CC++ apps, you would have noticed a big difference.
Re:When did software go off the rails? by jeffdavis on Thursday August 17, 2017 @02:52AM (#15034340)
I don't think that's quite true. Erlang is compact and fast (for many things) and it's interpreted. And there's tons of bloated C++.
Re:When did software go off the rails? by pjmlp on Thursday August 17, 2017 @09:04AM (#15036347)
.NET was always compiled to native code.

AOT to native code via NGEN, or JITed on load.

The only .NET variant from Microsoft that wasn't compiled to native code before execution, was .NET Micro Framework.

Re:When did software go off the rails? by 201708throw on Thursday August 17, 2017 @03:11AM (#15034430)
I always know when an app is JavaScript. Also .Net apps are native.
Re:When did software go off the rails? by badsectoracula on Thursday August 17, 2017 @03:18AM (#15034459)
I don't think that interpreted languages is the problem since people were using Visual Basic since the Windows 3.0 days. There are some collections in archive.org for 16bit Windows shareware programs and games with hundreds of entries and like 2/3 of them are made in some version of VB.

Now, .NET and JVM might be a problem since those VMs tend to be resource hogs (after all both use GC methods that allocates tons of memory whereas something like Python or even classic VB use reference counting - even then there are languages that aren't using reference counting but some other method of GC and still are fast). But i don't think you should put all interpreted languages at the same box.

Re:When did software go off the rails? by pjmlp on Thursday August 17, 2017 @09:02AM (#15036337)
Reference counting is GC.

Also you should not put all GC languages in the same box, as many do allow for AOT compilation to native code and do support value types and GC-free memory allocation as well.

Re:When did software go off the rails? by badsectoracula on Tuesday August 29, 2017 @02:46AM (#15122566)
Heh, it finally happened on Hacker News too, people misunderstood what i wrote and downvoted me for it instead of trying to understand what i am talking about (yes i am annoyed with that, it is one thing to be misunderstood and another to be penalised for being misunderstood - especially on HN where messages fade out when downvoted).

So, first of all:

> Reference counting is GC.

How did you thought that i said otherwise when i clearly wrote "aren't using reference counting but some other method of GC" ("other method" here implying that reference counting is also GC)?

Moving on...

> Also you should not put all GC languages in the same box

I did not, as should have been obvious from the "after all both use GC methods that allocates tons of memory whereas something like Python or even classic VB use reference counting" where i compare two different methods of GC, one that uses a lot of memory and another that doesn't.

Now i get that making the previous misunderstanding would make this bit sound as if i was making a comparison between "GC" (Java, C#) and "non-GC" (Python, classic VB) - and please note that the quotes here are to show what one could think while having that misunderstanding, not what i really think, after all i already made it clear with the previous quote that i think that reference counting is a method for GC - however i do not think that it is my fault here, i gave examples and tried to make myself clear about what i mean. After some point i believe it is up to the reader to actually try and understand what i am talking about.

I think the rest of your message (the "as many do allow for AOT compilation to native code and do support value types and GC-free memory allocation as well.") is relying on the above misunderstandings, especially considering i didn't do what you describe, so i am ignoring it.

Now don't get me wrong, i am not attacking you or anything nor i believe you are wrong with the fact parts of your message ("reference counting is GC", "not all GC languages are the same"), it is just that the message doesn't have much to do with what i wrote.