5 ms·
> No one writes full stack applications in C++ any longer, other than maintaining the existing ones. That is not my experience. Somehow both me and my wife end
by lrem 10y ago
> No one writes full stack applications in C++ any longer, other than maintaining the existing ones.
That is not my experience. Somehow both me and my wife ended up developing new C++ applications for a living.
- pjmlp 10y agoAre you developing those C++ applications for the enterprise? Can you disclose which type of full stack applications are those?
- lrem 10y agoIn my case a bunch of microservices. This included a rewrite of a legacy monolithic service written in Python. The C++ rewrite was not only more efficient and maintainable, but also ended up with a quite a few more features fitting in a smaller codebase. People do underestimate the value of rewrite from scratch, which when paired with a redesign trumps any language advantage. My wife's work was (she's full time parent now) on some gargantuan backend for ticket selling service. Afaik frontend to that is also C++.
- pjmlp 10y agoThanks for replying. I would say that you could probably have gotten the same benefits from rewriting the Python system into any AOT compiled language, like Go for example. We have been doing such rewrites to Java and .NET stacks, with some C++ only on "as little as possible" basis. Frontend apps are only done in C++, actually QML, if they need to be native cross platform. Otherwise they are either native to the OS (WPF, Android, Cocoa) or pure web.
- lrem 10y agoWe have piloted go and decided to stay as far away as we can. I personally believe that rewrite to Python, preferably with static typing, would be just as beneficial.
- ndesaulniers 10y ago"There are literally dozens of us!" FWIW, I think C++ is killing it on mobile and many other platforms and disagree with the post you responded to. Just pointing out that 2 samples isn't statistically significant.
- pjmlp 10y agoWhere are the C++ killer applications on iOS and Android, besides game engines, written 100% in C++? Where is C++ on the iOS and Android documentation versus Objective-C, Swift and Java?
- stock_toaster 10y agoClang, LLVM, WebKit, Chrome/Blink?
- pjmlp 10y agoHave you bothered to learn my comment? > C++ has become an infrastructure language on the enterprise. None of those examples, except for clang, are a full stack application written 100% in C++.
- deleted 10y ago[deleted]
- milesrout 10y agoI can't think of any really big programmes written entirely in a single language. Every single programme out there is dependent on libraries written in C, kernels written in C, libraries written in C++, etc. Emacs is full of Lisp. Maybe Chrome? Chrome is written entirely in C++.
- pjmlp 10y ago> Every single programme out there is dependent on libraries written in C, kernels written in C, There are no mainframe OS with kernels written in C. Linking to C is an option of the program author, sometimes there is an option, sometimes the authors doesn't do any better. When I wrote my compiler project for the university, I made the point the language runtime should have zero lines of C. > Maybe Chrome? Chrome is written entirely in C++. The purpose of Chrome is to allow users to run applications written in HTML, CSS, JavaScript. Those users would be able to see exactly the same web pages regardless of the programming language used to write the browser.