Live data from Hacker News

C Minus Minus

en.wikipedia.org

51–60 of 75 posts

Re: C Minus Minus

#51
post #23

I asked this on Ask HN sometime back but did not get a lot of responses. So asking it here because it might be of interest to people reading and commenting on this artile here. Which programming language other than C is available for most platforms? It is well known that some C compiler implementation is available for almost every computable platform. I am looking for another programming language that has compiler im…

> Which programming language other than C is available for most platforms? Wouldn't any language frontend for gcc count? Last I checked that includes Ada, Fortran, and others.

Are all languages supported by gcc compiled to the same intermediate code?

Re: C Minus Minus

#52
post #5

Related: Welcome to C-- (2008) - https://news.ycombinator.com/item?id=30006215 - Jan 2022 (23 comments) The C-- Language Specification (2005) [pdf] - https://news.ycombinator.com/item?id=19429522 - March 2019 (27 comments) C--: A Portable Assembly Language - https://news.ycombinator.com/item?id=17966114 - Sept 2018 (1 comment) C-- - https://news.ycombinator.com/item?id=6621679 - Oct 2013 (72 comments) Pretty sure the…

https://news.ycombinator.com/item?id=30044788

Re: C Minus Minus

#53
post #19
post #9

Slightly related to this, this article made me check Simon Peyton Jones's wiki page [1], where I saw this: > Jones has played a vital role in the development of new Microsoft Excel features since 2003, when he published a paper on user-defined functions.[19] In 2021, anonymous functions and let expressions were made available in the Office 365 version of Excel as a beta feature.[20] Truly, there were (possibly still…

He semi-joked that Excel is the world's most popular functional programming language.

Excel is probably the world's most popular programming language period.

Re: C Minus Minus

#54

Earlier quoted context omitted.

Two very different answers for you. 1: Forth. I've seen Forth on things that I didn't even realize were computers. Since an interpreter can run in a few hundred bytes of ROM, that's not too surprising. 2: Rust. Rust can run on 8/16 bit micros, client side web (WASM), and on iOS, along with all of the more conventional and easier targets. Probably the only popular universal language for 2022 targets, although there ar…

[flagged]

This guy has been doing "concern trolling" about once a day for a week now: https://gist.github.com/andrewrk/9aed922a6210e57243af8be8d10...

There's plenty of things to criticize about Zig. Just do it honestly instead of pretending that you're "just asking questions".

Re: C Minus Minus

#55
post #23

I asked this on Ask HN sometime back but did not get a lot of responses. So asking it here because it might be of interest to people reading and commenting on this artile here. Which programming language other than C is available for most platforms? It is well known that some C compiler implementation is available for almost every computable platform. I am looking for another programming language that has compiler im…

> Which programming language other than C is available for most platforms? Wouldn't any language frontend for gcc count? Last I checked that includes Ada, Fortran, and others.

Last time I looked, GCC had pretty poor support for 16-bit x86 compared to older compilers.

Re: C Minus Minus

#56
post #51

Earlier quoted context omitted.

> Which programming language other than C is available for most platforms? Wouldn't any language frontend for gcc count? Last I checked that includes Ada, Fortran, and others.

Are all languages supported by gcc compiled to the same intermediate code?

Yes, but GCC has several internal representations, Gimple and RTL.

Re: C Minus Minus

#57
post #19

Earlier quoted context omitted.

He semi-joked that Excel is the world's most popular functional programming language.

Excel is probably the world's most popular programming language period.

80% of SaaS business out there are just excel files with a better UI and a more scalable database.

Re: C Minus Minus

#58
post #19
post #9

Slightly related to this, this article made me check Simon Peyton Jones's wiki page [1], where I saw this: > Jones has played a vital role in the development of new Microsoft Excel features since 2003, when he published a paper on user-defined functions.[19] In 2021, anonymous functions and let expressions were made available in the Office 365 version of Excel as a beta feature.[20] Truly, there were (possibly still…

He semi-joked that Excel is the world's most popular functional programming language.

> Excel is the world's most popular functional programming language.

It's not?

Re: C Minus Minus

#59

C—- was the joking name for the subset of C we had to implement for my Compilers course in college (1990s, UCSC). I’ve assumed that other courses at other colleges did this, too. When I clicked on the link this is what I expected the article to be about.

Yeah same. There was a basic prerequisite that everyone know the basics of C, but there was no expectation of assembly knowledge. So we'd write a compiler to compile the code down to reduced form of C that basically mimics assembly, and then use gcc to compile that.

Re: C Minus Minus

#60

C—- was the joking name for the subset of C we had to implement for my Compilers course in college (1990s, UCSC). I’ve assumed that other courses at other colleges did this, too. When I clicked on the link this is what I expected the article to be about.

my compiler course called it mini-C
Post reply on HN