recentpopularlog in

mcherm : c++   18

Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml - Tristan Hume
A *really* good case study: for a course, several competent teams wrote the same program is various languages. Afterward, the code size was compared. Slight advantage to Python and Scala, but mostly it depended on the design decisions, not the language.
programming  programminglanguages  rust  scala  python  haskell  C++  ocaml  via:HackerNews 
june 2019 by mcherm
Undefined Behavior in 2017 – Embedded in Academia
This article on tools for detecting undefined behavior in C and C++ programs has a list of all undefined behavior.
programming  C++  c 
july 2017 by mcherm
The Horror in the Standard Library
A memory leak that was hard to track down.
programming  bug  C++  via:HackerNews 
may 2017 by mcherm
C++ Has Become More Pythonic
Some recent changes were pilfered from Python. Good to see good design taking hold.
languages  python  C++  via:reddit 
december 2014 by mcherm
C++: do you (really) write exception safe code? - Stack Overflow
A really well-written essay on how to think about writing exception safe code in C++. Convinces me that it's very nice to have stronger support for exceptions in languages like Java and C#, but this is a good way to work with C++.
programming  exceptions  C++ 
april 2013 by mcherm
Kirk's Rants: Scala Considered Harmful For Large Projects?
Don't use Scala for parts of big Java projects in an enterprise context because it's just too tempting to use weird features and make maintanence difficult. It's very much like C++ in that regard.
java  scala  enterprise  programming  C++  via:HackerNews 
february 2011 by mcherm
Lambdas? In *my* C++?
Strange: abusing C++ templates to create lambdas in C++.
programming  functional  C++  via:LarryOBrien 
may 2010 by mcherm
WhyWeChoseCppOverJava - hypertable - Why We Chose C++ Over Java - Project Hosting on Google Code
For this task they wrote in C++ not in Java, and the reason is that they really needed to squeeze out performance, and C++ did better.
performance  scalability  datastructures  java  jvm  C++ 
december 2009 by mcherm
Java theory and practice: Urban performance legends, revisited
Why Java's memory allocation is typically even faster than C's, for typical usage patterns. Also how escape analysis can allow the JVM to store some stuff on the stack instead of the heap.
java  programming  jvm  optimization  memory  performance  C++  garbagecollection  via:HackerNews 
october 2009 by mcherm
Weblogs Forum - Why? Language Archaeology ... and Metaprogramming
C++ made a number of really stupid design choices, but nearly all were motivated by the requirement that it be backward compatible with C. Java made stupid design choices, mostly just because they were stupid. (I chime in and point out that they had to be backward compatible with C++.) Also on a different topic: most languages eventually grow metaprogramming: macros in C, templates in C++, annotations in Java, decorators in Python. A few thoughts on how these differ and are alike.
languagedesign  programming  java  C++  via:BruceEckel  BruceEckel  metaprogramming 
june 2009 by mcherm
The Positive Legacy of C++ and Java
The design of C++ was NOT haphazard; it was carefully considered. It still resulted in a badly-designed language. The design of Java was, Bruce says, less well-considered and lots of mistakes were made which COULD have been avoided... many of the recent ones for reasons of backward compatibility (with existing Java). "All future languages should learn from this: either create a culture where you can be refactored (as Python and Ruby have done) or allow competitive species to thrive."
languagedesign  programming  C++  python  java  BruceEckel  via:BruceEckel 
march 2009 by mcherm
C++ Frequently Questioned Answers
This has to be the most amazing rant I have ever seen. The author completely dissects the C++ FAQ and explains why every answer is wrong and C++ is the world's worst language. I'm sure glad it's not MY language he's reviewing.
C++  rant  programming  programminglanguages  yosefk 
july 2008 by mcherm
Is Scala Really the Next C++? - Code Commit
Interesting thought: Scala may be the next C++. It's a messy hodgepodge of different things that doesn't hang together well, but it brings in good ideas and just might take off, largely because it's quite close to its predecessor (Java).
scala  C++  programming  languagedesign 
june 2008 by mcherm
Wish list for C++ language enhancements
Bjarne Stroustrup's list of requested language features for the next version of C++.
personal_net  language  C++ 
april 2005 by mcherm

Copy this bookmark:

to read