Live data from Hacker News

Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

cito.sourceforge.net

51–60 of 75 posts

Re: Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

#51
See also the C~ language that the author of Scintilla created for the purpose of building a retargetable text editor component:

http://www.scintilla.org/SWPortability.html

He wrote his text editor component in C~, then compiled it down to C++, Java and C#. Kind of interesting - I actually used SinkWorld in a product once.

Re: Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

#52
post #14

Earlier quoted context omitted.

Right. Who would ever want to be able to write libraries that can run on any platform?

I'm not saying there isn't a need, but I'm interested in knowing of another need. Hasn't this been done in C already? C pretty much runs anywhere, after all. What exactly does this bring to the table? Sorry that people thought I was being negative (as per all the downvotes - you people really aught to comment), I'm just curious as to why other languages don't fill this gap.

To avoid the downvotes acknowledge that the article already declares the purpose and ask for more details. As it is you come across as not having read it, but opining negatively.

To your question - in my case I had a server returning XML/JSON output and on the client side I needed to parse the output and convert it into an object model, collect changes and ship the. Back to the server. That was a lot of boiler-plate code we ended up repeating in java, C#, javascript, and C++. We used C++ version in lieu of Objective C and it was a pain with memory management mismatch.

Re: Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

#53

Earlier quoted context omitted.

I'd say it's more like 'ci' (sounds closer to 'ty') in Italian 'ciao' and less like 'ch' in 'change'.

In American English (and perhaps other dialects), Italian 'ciao' is an allophone with English 'chow'. (Really two allophones, 'ch' and 'ow'). Most Americans won't be able to hear a difference.

"ciao" and "chow" are homophones, not allophones. Allophones are different phonetic representations of the same phoneme found in complementary distribution. For example, [t] and [th] and [ɾ] and [ʔ] are allophones of /t/ (the first in 'cat', the second in 'tack', and the third and fourth in 'cutter' , depending on your regional variant. Also, the initial phoneme in Italian "ciao" is for all purposes identical to the one in English "chow" (the vowels are a bit different) - it is written as: /tʃ/

Re: Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

#54
post #40

Earlier quoted context omitted.

What's wrong with GPLv3? I thought the only thing that changed from v2 was preventing tivotization?

I think he means commercial use in closed-source projects. So it's not v2 vs v3, but GPL vs Apache or MIT.

It's not just commercial use. Non-permissive open source licenses are also frequently incompatible with one another [1].

[1] http://www.gnu.org/licenses/license-list.html#GPLIncompatibl...

Re: Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

#55
post #49
post #25

Earlier quoted context omitted.

Cee acute? Doesn't strike me as that horrible.

...unless you have no idea what "acute" means or you've never seen it in your life, because you haven't been exposed to French or English musical notation before (which applies for, I'd bet, over 80% of programmers worldwide :) )

But most programmers probably have studied basic geometry.

Re: Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

#58
post #29

Earlier quoted context omitted.

Who's "we"? Your OS only supports 7-bit ASCII or what? https://www.google.com/search?q=%C4%86%20programming%20langu...

Yeah, but most people in the US will be too lazy to type that character when writing about it. Also, look at the author's own examples. They already have to resort to calling it "ci" in code and on the command line (and in URLs).

> Yeah, but most people in the US will be too lazy to type that character when writing about it.

Five decades of having everything built around their convenience does that

Re: Ć Programming Language - Compile C# subset to C, Java, C#, JS, AS, Perl and D

#60
post #32

Earlier quoted context omitted.

Almost all other languages have ASCII names. How do you think South Koreans, Japanese, Chinese, etc refer to them? They figured it out, just like you would, if you wanted to.

The name of something makes a big difference in the USA though. If it sounds ridiculous or has a non-obvious pronunciation, people won't take it seriously. Rationalize all you want...the issue makes it a non-starter for many people.

A lot of the English language is a showcase of non-obvious pronunciations (ex: "finite" [fi-night] vs. infinite [in-fee-nith]), so that seems like a strange complaint.
Post reply on HN