HackerTrans
TopNewTrendsCommentsPastAskShowJobs

greggman7

no profile record

Submissions

Ask HN: Why can't C++ compilers find this error?

1 points·by greggman7·2 lata temu·3 comments

comments

greggman7
·2 lata temu·discuss
Yes of course, Apple doesn't have to follow it's own rules.
greggman7
·2 lata temu·discuss
PHP integrates with the server. It does not have the spawn a new process per request like CGI
greggman7
·2 lata temu·discuss
What would replace it?

PHP is unique in that it makes sharing a server trivial and low-resource compared to almost every other solution.

A simple example might be that you can run 100s of PHP forums on a single machine low memory machine but if you want to use discourse (not written in PHP), it requires 10x 20x the resources for a single forum.

This is true about almost every other solution AFAICT.
greggman7
·2 lata temu·discuss
AFAIK this is still mostly forbidden by Apple

> 2.5.2 Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps. Educational apps designed to teach, develop, or allow students to test executable code may, in limited circumstances, download code provided that such code is not used for other purposes. Such apps must make the source code provided by the app completely viewable and editable by the user.

https://developer.apple.com/app-store/review/guidelines/

So except for education you can't code on an iPad.

That said, you could access a website like stackblitz or codepen or codesandbox. No idea how well those run on iPad.
greggman7
·2 lata temu·discuss
IIRC, WebGPU is shipping on Android in ~4 days

Safari Technology Preview finally turned it on again. Of course when Apple will ship it on Mac and/or iOS is unknown but at least they showed some progress after hiding for 6 or more months

Firefox is doing their best to ship ASAP.
greggman7
·3 lata temu·discuss
I'm not suggesting Turbo Pascal was written in Modula2, I'm saying it implemented Modula2, not Pascal. Modula2 is a superset of Pascal. Pascal never had modules AFAIK but Turbo Pascal did.

https://en.wikipedia.org/wiki/Modula-2
greggman7
·3 lata temu·discuss
This is super true. It's why programmers like writing game engines. It's relatively well defined all the parts needed so it feels like you're making lots of progress when in reality you're just re-inventing the wheel and not doing the truly hard part, the actual design and content creation. I'm super guilty of it myself.
greggman7
·3 lata temu·discuss
I agree with you.

I watched some students prototype a simple diplomacy type game on paper first, targeted at phones. On paper people got it, talked to each other, negotiated. On the phone, people just stared at their screens, made choices entirely in isolation, no "diplomacy" what-so-ever.
greggman7
·3 lata temu·discuss
Lords of the Rising Sun was written in Modula2 on the Amiga

https://www.google.com/search?q=lords+of+the+rising+sun

My understanding (please correct me) is that Turbo Pascal on PC was actually Modula2 ?