Live data from Hacker News

Turkey buys Delphi licenses for an estimated one million students

jonlennartaasenden.wordpress.com

311–320 of 352 posts

Re: Turkey buys Delphi licenses for an estimated one million students

#311
post #96

Corruption matters aside, I honestly think choosing a non-standard technology is a good move. Reading the news article, you see that the students mentioned are in trade schools. Turkey needs the trade school students to continue doing trades (there's a shortage of tradespeople), so it would make no sense flooding the javascript/c#/python developer market with trade schoolers now thinking they might make lots of more…

Where does the part about corruption come into it?

Re: Turkey buys Delphi licenses for an estimated one million students

#312
post #310

Earlier quoted context omitted.

The only thing that you seem to be right about is the low level device control stuff. Everything else is pretty much already easy enough to do in Java. The language was designed with multithreading in mind.

"...multithreading in mind..." - Easy and efficiency are 2 different things. Java synchronization primitives and it's ability to flip bits incur heavy performance penalty when compared to native ones. You might not care about it but I do. You are also free to point me to a good DirectX framework in Java and/or the one that let's you write Directshow and Media Foundation filters and graphs as well. Besides your logic…

> Windows desktop: sorry I'll choose Delphi any time.

Let me quote you then.

> Besides your logic reads like this: since language A does the same as language B and you happen to like language A then nobody needs B. Sorry but it works both ways.

There are perfectly good enough tools for the Windows Desktop already and they are available directly from Microsoft.

Re: Turkey buys Delphi licenses for an estimated one million students

#313
Smart.

While everyone is trampling over each other to get into the tiny little door (the SaaS/FAANG/npm/golang/frontend/iOS scene), they found the smaller side door that no one else is taking.

Delphi is good for ordinary line-of-business software, all the boring back office software that people take for granted in first world countries.

Re: Turkey buys Delphi licenses for an estimated one million students

#314
post #310

Earlier quoted context omitted.

"...multithreading in mind..." - Easy and efficiency are 2 different things. Java synchronization primitives and it's ability to flip bits incur heavy performance penalty when compared to native ones. You might not care about it but I do. You are also free to point me to a good DirectX framework in Java and/or the one that let's you write Directshow and Media Foundation filters and graphs as well. Besides your logic…

> Windows desktop: sorry I'll choose Delphi any time. Let me quote you then. > Besides your logic reads like this: since language A does the same as language B and you happen to like language A then nobody needs B. Sorry but it works both ways. There are perfectly good enough tools for the Windows Desktop already and they are available directly from Microsoft.

Visual C is not such a good tool to write desktop application. .NET monstrocities with almost the same problems in regards to low level stuff, multimedia etc as Java when I can have single exe with no dependencies? Thanks but no thanks.

Also I do not really appreciate mentoring. Was doing just fine completely on my own for the last 20 years.

Re: Turkey buys Delphi licenses for an estimated one million students

#315
post #183

Earlier quoted context omitted.

> Can you name a better format for programming language documentation that's also ubiquitously supported? Info format. It's supported by Emacs, and Emacs is the most ubiquitous of IDE's.

> Info format. I said "ubiquitously supported". There are several orders of magnitude difference between info format support and HTML support. > Emacs is the most ubiquitous of IDE's That's laughably wrong.

Well, it may be on everyone's machine (just type 'which emacs') but that hardly makes it the most commonly used IDE, which I think is what's hard to stomach.

Re: Turkey buys Delphi licenses for an estimated one million students

#317

Earlier quoted context omitted.

I wonder if anyone has come up with a TurboC-like UI "theme" for, e.g. Emacs. Freepascal uses a Turbo-like UI by default and a free reimplementation known as RHIDE is already (IIRC) part of the FreeDOS distribution, so recreating the UI itself shouldn't be too hard. It might be a fun way to boost adoption of these terminal-based tools, since the ergonomics and UX is in fact quite reminiscent of modern IDE's.

Vim has it https://github.com/skywind3000/vim-quickui

That's a nice start, but it lacks some of the most distinctive features. Even being limited to a single full-view buffer is not very Turbo-like. And I'm not seeing much IDE-like integration.

Re: Turkey buys Delphi licenses for an estimated one million students

#318
I expected to see people complaining that a government spend tons of money buying licenses when there are hundreds of other languages that you can use for free out there, but instead I saw people saying Delphi is good, Delphi is bad, Pascal whatever.

Re: Turkey buys Delphi licenses for an estimated one million students

#319
post #17

Earlier quoted context omitted.

Not only that but Delphi has tremendous educational potential due to fast feedback loops. There was a blog post once on HN where one of Delphi authors discussed how they designed IDE and the language to be friendly for newcomers. One could ask why not invest in https://www.lazarus-ide.org/ instead of commercial Delphi though?

Leace: "Not only that but Delphi has tremendous educational potential due to fast feedback loops." Agreed completely! Not only that, but an argument could be made that the TIME that a given body of source code takes to compile -- can have a huge impact (positive or negative) on programmer productivity... Case in point: The Linux Kernel (written in C)... You make a change, even a small one, and you're probably going t…

> Case in point: The Linux Kernel (written in C)...

> You make a change, even a small one, and you're probably going to wait for HOURS for it to compile...

I've done this before. For a small change in a .c file, it takes less than a couple of minutes in a not-so-fast computer. It only has to recompile that .c file, do a partial link of the subsystem, do a final link of the whole kernel, and a few other auxiliary processing steps. It takes more time to reboot the machine or VM with the new kernel.

Even compiling the kernel from scratch is fast. Looking at a Phoronix benchmark (https://openbenchmarking.org/showdown/pts/build-linux-kernel), it takes less than 15 minutes on all systems tested. Some systems can compile the whole kernel from scratch in less than half a minute.

Re: Turkey buys Delphi licenses for an estimated one million students

#320
post #108

Earlier quoted context omitted.

Why would you want to build a restaurant accounting/billing app as a desktop app instead of a browser app?

I'd ask the opposite question.

Why would you want to build it as a browser app? Well, a guy named Paul Graham wrote an essay about that. Maybe you've heard of it?
Post reply on HN