We used EurekaLog (https://www.eurekalog.com/) to get nice exceptions and stack traces, even for access violations :) Imagine that: you have a native app, but you also have stack traces like in C# and Java.
I loved to use Delphi in the early- and mid-2000s, but unfortunately Delphi jobs disappeared, and I had to switch to C# and Java development.
Re:22 Years of Delphi and It Still Rocks
by edwinyzh on Friday February 17, 2017 @07:53AM
(#13667906)
madExcept is better for this purpose
Re:22 Years of Delphi and It Still Rocks
by noir_lord on Wednesday February 15, 2017 @07:27AM
(#13651507)
I don't think that really says anything about Delphi and everything about the massive complexity of large software.
I get regular crashes with a bunch of stuff (everything from Thunar (don't think that shows C has aged badly), Chrome (C++) and Intellij (Java).
Re:22 Years of Delphi and It Still Rocks
by tonyedgecombe on Wednesday February 15, 2017 @08:23AM
(#13651790)
Some languages make it harder than others, there is a whole class of bugs that just disappear when you have garbage collection for instance.
Re:22 Years of Delphi and It Still Rocks
by noir_lord on Wednesday February 15, 2017 @09:03AM
(#13652036)
I agree but a large program in one of those languages will still have more bugs than a small one, that's just the nature of things and the increase in bugs isn't linear either in my experience.
Re:22 Years of Delphi and It Still Rocks
by aylons on Wednesday February 15, 2017 @11:22AM
(#13653103)
I half agree with you. It surely shows the massive complexity of large software, for sure.
On the other hand, the tool should help prevent these issues. Altium has visible exceptions and lots of memory leaks that are much easier to prevent or solve with modern development tools and languages.
Also, C aged badly, but the tools (ecosystem seems to be the hip name nowadays) for C evolved, and in a smaller scale, even the language itself has evolved. Object Pascal and Delphi doesn't seem to be catch up so well.
Re:22 Years of Delphi and It Still Rocks
by TimJYoung on Wednesday February 15, 2017 @12:48PM
(#13653830)
Modern Delphi has a simple flag that you can set that will show you a log of every memory leak in your application when you shut it down, and there are 3rd party exception handling and profilers/analyzers that can be purchased for a few hundred dollars that will take care of finding/fixing AVs/performance bottlenecks. It's actually quite easy to create solid and reliable applications using Delphi if you follow solid software development practices.
Re:22 Years of Delphi and It Still Rocks
by digler999 on Wednesday February 15, 2017 @10:55AM
(#13652858)
The thunar-crashing thing was introduced. A few years back it was stable, then sometime around a year or 2 ago it broke. Sad to see a good piece of software take a step back (proper testing should have prohibited that, shouldn't it ?).
Fast forward 20 years, and I'm a hardware developer using Altium a lot. As some here may be aware, Altium is a multi-gigabit piece of CAD/EDA behemoth written - and still maintained - in Delphi. 3D, DirectX, everything in Delphi.
Just yesterday and today I had easily reproducible BSODs by using a very basic feature (routing nets). Memory leaks galore - most people I know have the habit of shutting Altium down now and then just to avoid a crash. Success is low - it crashes a lot, I'm getting tired of unhandled exceptions windows.
And this way, I realize even great development tools age badly. Of course this is not all Delphi's fault, but it shows how tech is a Red Queen's race: you must run faster and faster to keep in the same place.