I think that languages that are a just thin shell on top of C (as opposed to languages that merely target C, e.g. Chicken Scheme) might have some potential. I'll call this coffeescriptification --still eagerly awaiting the first transpiled language that does nothing but remove C's braces and semicolons. If someone doesn't do it by next April Fools, I certainly will (I already have the name in mind: Glee (the italics…
One thing often overlooked in language design is the filename. It's 2012, why are languages still stuck with IBM-era filename extentions when they could use unicode?! For instance: Rust: filename.ℛ Java: filename.☕ Glee: filename.☺ Isn't that just so much clearer and nicer-looking than ".rs" or ".java" or ".g"? It's really the fine aesthetic points like this that can make or break a language.
C (Cbang) - A system oriented programming language
41–50 of 86 posts
Re: C (Cbang) - A system oriented programming language
#42Earlier quoted context omitted.
Not sure if irony, or really dumb comment.
:D It has pointers too, will make a man outta you. Then you'll be able to easily move on to C++ as the OOP structure is almost the same.
Re: C (Cbang) - A system oriented programming language
#43I didn't checked the details, but I would love to see ten attempts every year, trying to solve the same problem. D and Go are not trying to provide us with a better C, because they don't share the concept of, a language that translates straightforward to assembler, but still is designed so that you can mount good abstractions with it. This is what you need for kernel programming, embedded systems, and a good deal of…
Native Oberon, Spin, Singularity, Home, Inferno are all operating systems written in GC enabled system programming languages. D and Go are just following that thread. Eventually all mainstream OS will have such type of languages and C will be legacy. Microsoft is already slowly doing that by dropping support for C later than C90, and adding COM based API as the default Windows API. Now mainly for Metro, perhaps for t…
Additionally, GC is not strictly necessary to solve buffer overruns and dangling pointers. Region-based memory management is an alternative for many use cases.
Re: C (Cbang) - A system oriented programming language
#44I think that languages that are a just thin shell on top of C (as opposed to languages that merely target C, e.g. Chicken Scheme) might have some potential. I'll call this coffeescriptification --still eagerly awaiting the first transpiled language that does nothing but remove C's braces and semicolons. If someone doesn't do it by next April Fools, I certainly will (I already have the name in mind: Glee (the italics…
Re: C (Cbang) - A system oriented programming language
#45Earlier quoted context omitted.
Rust isn't finished yet. It's about to get 'regions', which come with custom allocators.
Hey, thanks for pointing that out (and thanks to kibwen for the link). I've been trying to use (or rather, bend) rust for kernel development lately, and memory allocation was my biggest limitation so far (including stack allocation). Definitely looking forward to future improvement on the language, it looks very promising.
https://github.com/mozilla/rust/blob/master/src/test/bench/s...
Re: C (Cbang) - A system oriented programming language
#46I didn't checked the details, but I would love to see ten attempts every year, trying to solve the same problem. D and Go are not trying to provide us with a better C, because they don't share the concept of, a language that translates straightforward to assembler, but still is designed so that you can mount good abstractions with it. This is what you need for kernel programming, embedded systems, and a good deal of…
Re: C (Cbang) - A system oriented programming language
#47Earlier quoted context omitted.
Interesting that none of those systems are in active usage... > Eventually all mainstream OS will have such type of languages and C will be legacy. That's just speculation. Personally I have high hopes for languages with optional-only GC, and much stricter memory management principals. Ala, Rust.
Windows and Mac OS X are, and they are slowly incorporating such changes, as I mentioned. Don't forget that UNIX was once upon a time a research operating system, and took a few decades to have industry impact. New ideas take time to mature.
Re: C (Cbang) - A system oriented programming language
#48I didn't checked the details, but I would love to see ten attempts every year, trying to solve the same problem. D and Go are not trying to provide us with a better C, because they don't share the concept of, a language that translates straightforward to assembler, but still is designed so that you can mount good abstractions with it. This is what you need for kernel programming, embedded systems, and a good deal of…
Native Oberon, Spin, Singularity, Home, Inferno are all operating systems written in GC enabled system programming languages. D and Go are just following that thread. Eventually all mainstream OS will have such type of languages and C will be legacy. Microsoft is already slowly doing that by dropping support for C later than C90, and adding COM based API as the default Windows API. Now mainly for Metro, perhaps for t…
Re: C (Cbang) - A system oriented programming language
#49Earlier quoted context omitted.
Native Oberon, Spin, Singularity, Home, Inferno are all operating systems written in GC enabled system programming languages. D and Go are just following that thread. Eventually all mainstream OS will have such type of languages and C will be legacy. Microsoft is already slowly doing that by dropping support for C later than C90, and adding COM based API as the default Windows API. Now mainly for Metro, perhaps for t…
Interesting that none of those systems are in active usage... > Eventually all mainstream OS will have such type of languages and C will be legacy. That's just speculation. Personally I have high hopes for languages with optional-only GC, and much stricter memory management principals. Ala, Rust.
That's a ridiculous dismissal to make; we live in a world where hand-written assembly is considered a badge of honor, where people prefer to patch up a 40-year-old dinosaur rather than make something new, where people to go ridiculous lengths to avoid using a mouse simply because Unix didn't have mouse support in 1973. Is it any wonder that we're not using anything better?
Re: C (Cbang) - A system oriented programming language
#50I think that languages that are a just thin shell on top of C (as opposed to languages that merely target C, e.g. Chicken Scheme) might have some potential. I'll call this coffeescriptification --still eagerly awaiting the first transpiled language that does nothing but remove C's braces and semicolons. If someone doesn't do it by next April Fools, I certainly will (I already have the name in mind: Glee (the italics…
Sounds like what you're looking for is the original Bash source code, circa 1977, for example [1]: LOCAL STRING copyto(endch) REG CHAR endch; { REG CHAR c; WHILE (c=getch(endch))!=endch ANDF c DO pushstak(c|quote) OD zerostak(); IF c!=endch THEN error(badsub) FI } Applicable macros if you want to give your code that classic ALGOL 68 smell in [2]. [1] http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/... [2]…