News for hackers. Stuff that matters.
Re:Ask HN: Any Recommendations Around Programming on an iPad? by layer8 on Wednesday September 04, 2024 @06:05PM (#41451354)
This is difficult, in particular if you have no additional budget. You could try iDOS [0] (for $0.99) and run Turbo C++ [1] on it.

If online is fine, you could obtain a free cloud VM/VOS [2], ssh into it and use the usual Unix C development tools there.

[0] https://apps.apple.com/us/app/idos-3/id1580768213

[1] https://winworldpc.com/product/turbo-c/3x

[2] https://github.com/cloudcommunity/Cloud-Free-Tier-Comparison

Re:Ask HN: Any Recommendations Around Programming on an iPad? by mezentius on Wednesday September 04, 2024 @08:12PM (#41452186)
I do some light hacking in iDOS for fun as well. Might as well go straight to Borland C++ 3.1 [0] (the "professional" version) over Turbo C++ these days.

When you eventually hit the Great Wall of 16-bit real mode, I recommend switching to OpenWatcom [1], aka "the compiler that built Doom," which comes with something closer (relatively speaking) to a modern toolchain. DJGPP [2] has been recommended as well, although I found it more trouble to set up.

[0] https://winworldpc.com/product/borland-c/30

[1] https://github.com/open-watcom/open-watcom-v2

[2] https://www.delorie.com/djgpp/

Re:Ask HN: Any Recommendations Around Programming on an iPad? by AlexeyBrin on Wednesday September 04, 2024 @09:44PM (#41452713)
> Turbo C++

Terrible suggestion in 2024 for a beginner as I assume the OP is. (If you are into retro development and you are already an experience programmer, it will be just fine.)

I doubt that Turbo C++ is even C89 compatible.

Re:Ask HN: Any Recommendations Around Programming on an iPad? by layer8 on Thursday September 05, 2024 @09:45AM (#41456571)
It does support ANSI C, and is fine for that.
Re:Ask HN: Any Recommendations Around Programming on an iPad? by AlexeyBrin on Thursday September 05, 2024 @12:27PM (#41458152)
Cool, I would still not advice a beginner to start with it. But it is nice to know that the compiler supports at least the ANSI C standard. I may use it in my next retro programming project.