4 ms·
So apple seems to be dropping c like languages, Microsoft says new stuff should not be written in c like languages anymore, and google has steadily worked towar
by bfrog 4y ago
So apple seems to be dropping c like languages, Microsoft says new stuff should not be written in c like languages anymore, and google has steadily worked towards using rust and go in place of c and c++ where it makes sense to do so it seems.
There seems to be a trend here.
- phpisthebest 4y ago>>Microsoft says new stuff should not be written in c like languages anymore Microsoft is dropping C#? Source for that?
- bfrog 4y agoC# is a lot closer to Java if anything, should clarify to be c and c++
- mplewis9z 4y agoCalling C# a C-like language is like saying JavaScript is a descendant of Java.
- AppleBananaPie 4y agocould be worded better but from context in the sentence I read that as c/c++
- jon-wood 4y agoI think the GP probably poorly phrased that. “Memory unsafe languages” would be a better term, apart from the basic syntax C# really isn’t very C-like.
- ccouzens 4y agoBased on the context I think by "c like" they meant languages with a culture of dealing with raw pointers. c# is c by name and curly braces, but primarily uses managed memory
- diroussel 4y agoC# is not a C-like language. It's a managed runtime with garbage collection. However Mark Russinovich, CTO of Azure did say that it's time to drop C and C++ https://twitter.com/markrussinovich/status/1571995117233504257 https://twitter.com/markrussinovich/status/15719951172335042...
- babypuncher 4y agoC# is C-like in syntax only. Syntax isn't the reason why C and C++ are falling out of favor.
- danielvaughn 4y agoForgive me, is swift not in the c family? I could have sworn that it was, but I'm not overly familiar with it.
- kibwen 4y agoLots of languages, including Java and Javascript, have been described as being "in the C family", but this papers over a whole lot of important details. Swift is a low-ish-level imperative-ish language with C-ish syntax.
- obliquely 4y agoYou could just as plausibly say that Swift is a high-ish-level functional-ish language with a modern syntax. Whereas C blows up at runtime, Swift nags-and-whines at compile time - in that way it's very unlike C. All that said "in the C family" is highly ambiguous at best...
- BuckRogers 4y agoWhen I hear that C family languages are no longer to be utilized, I’m assuming they mean memory unsafe options. C & C++. Everything else is just as good of an idea as the next. C family is the most successful language paradigm in the history of software. Abandoning those constructs would be suicide. Nothing would get done.
- pyth0 4y agoI would think it is. It runs on the Objective-C runtime and has interop with it and C.
- SimDeBeau 4y agoIt was built to interop well with obj-c which is a c superset, but it’s not a c-family language more than something like c# or kotlin
- jcranmer 4y agoAs I would use the terminology, the C family of languages generally corresponds to languages that follow C's general syntactic rules, such as how you represent operators (particularly = is assignment and == is equality), curly braces for blocks, and to lesser degrees, making distinction between statement/expression, or having types precede variable names. "C-like", by contrast, is a language whose semantics follow closely to C, and in particular, the C-with-extensions languages like C++ or Objective-C are usually going to fall into this category.
- lmm 4y agoThe writing has been on the wall for decades for anyone who was paying attention. But it takes time for a whole industry to shift.
- deleted 4y ago[deleted]