Live data from Hacker News

The first web framework and ORM for C++

touchideas.com

21–30 of 40 posts

Re: The first web framework and ORM for C++

#21
post #6

Uh...why? I mean the idea is interesting and all (in theory - I didn't download the framework), but I gotta ask why you'd want to do this? C++ is appropriate and excellent for many problem domains...what is it about web development that should cause it to be added to that list? Put another way: a lot of smart people have been making very good web apps for a while without using C++. Why is it that you're the first one…

> first one to see that this domain is somewhere C++ will excel in C++ is used a lot in the big sites like Amazon and Yahoo and Google. The frameworks just aren't open sourced. C++ remains a lot faster and a lot less memory intensive than Java/C#. It would make sense to use it any time load is pushing the hardware.

Is it used in their world-facing front ends? That's the part I don't get using C++ for.

I can understand 100% using it for data processing in the back-end systems, but not for the usual web framework parts...

Re: The first web framework and ORM for C++

#22

Wow I mean, I just feel kind of bad. C++ lacks a feature set that would make developing a web application compelling. How much customer development did you? Did you ask anyone whether this was their pain point or whether it was something else? Was there a niche market that just hasn't been able to build a suitable solution for 7 whole years? All of the possible benefits that people have cited such as speed, portabili…

Doesn't this describe most people's work lives?

As an engineer, you're usually pretty lucky if 1/5 of your stuff reaches a wide audience. And much of the stuff that does reach a wide audience really isn't game-changingly-useful, it's just a nice feature to have.

Tech is a very hit-driven industry, where about 1% of software gets 99% of usage. It's usually impossible to predict that 1%, so you have to expect some duds on the way. And it's quite possible that big successes will be built off the duds.

Re: The first web framework and ORM for C++

#23
A couple of suggestions and they're not listed in any particular order:

1. Run a spell checker on the content of your site (ie, Installation is not spelled Instalation )

2. If you're not going to provide source or open source your product, provide debug and release versions of your product; don't tease people that your release version is much faster

3. If you know you have "many bugs", then document them and and give folks a head's up - don't leave people guessing!

4. Explain to people "Why" they want to use your product; there are so many other products out there with tons of support and documentation - why would anybody want to use your product?

5. Open source it and consider still taking donations, consult on its use and maybe even release a book on it if you're going to continue on its use

Again, identify who your audience really is; there are lots of packages being used to fill the niche of web app frameworks; what is special about your product and in what circumstances would someone need to use it

Good luck!

Re: The first web framework and ORM for C++

#24

Wow I mean, I just feel kind of bad. C++ lacks a feature set that would make developing a web application compelling. How much customer development did you? Did you ask anyone whether this was their pain point or whether it was something else? Was there a niche market that just hasn't been able to build a suitable solution for 7 whole years? All of the possible benefits that people have cited such as speed, portabili…

I'm a pretty hard-core C++ guy and it wouldn't really occur to me to write web apps in C++.

The one place that I could imagine it being useful is in binding existing C++ code to a web service. In our case, were there a lightweight wrapper for providing a REST API including HTTP server, I might consider that over our current setup of binding to the engine from another language.

Re: The first web framework and ORM for C++

#25
post #12

In the comments the question "why" pops up quite a few times, here is my try on it. 1.) It's a cool hack (if you like C++) 2.) It's pretty useful if you develop for an embedded environment (embedded webservers etc.) and need to avoid GPL'd code

There's also KLone (http://www.koanlogic.com/klone/): "KLone is a fully-featured, multiplatform, web application development framework, targeted especially for embedded systems and appliances." It uses C/C++, and can be used with either the GPL or a royalty-free commercial license.

Re: The first web framework and ORM for C++

#28
...

DON"T compare this to Django or RoR or any of the other web frameworks... their not meant for the same purpose or even on the same playing field. This framework is NOT to be used to write content management systems or blogs or things that simply display web pages constructed using data from a database. It can be, and the video shows it, but attempting to do so would be hilariously stupid.

What this is good for is making web applications that are to do seriously heavy computational processing. Think Image Processing and Analysis (openCV library), sound or Image analysis, Statical Simulations, Crypto Related tasks, etc. With this framework directly bind to those without having to rely on a secondary layer that would be PHP/Python/Rails etc.

Conventionally you either had to write modules in C and bindings for your interpreted language, or setup a fastCGI process. This takes care of handing both in a way...

At least that's my view of great use for this.

Re: The first web framework and ORM for C++

#29

Wow I mean, I just feel kind of bad. C++ lacks a feature set that would make developing a web application compelling. How much customer development did you? Did you ask anyone whether this was their pain point or whether it was something else? Was there a niche market that just hasn't been able to build a suitable solution for 7 whole years? All of the possible benefits that people have cited such as speed, portabili…

I think Google writes some of their web services in C++. Some things just need to be fast. Blogs and CMS's probably don't. Is there anything wrong with having a choice?

Re: The first web framework and ORM for C++

#30
post #29

Wow I mean, I just feel kind of bad. C++ lacks a feature set that would make developing a web application compelling. How much customer development did you? Did you ask anyone whether this was their pain point or whether it was something else? Was there a niche market that just hasn't been able to build a suitable solution for 7 whole years? All of the possible benefits that people have cited such as speed, portabili…

I think Google writes some of their web services in C++. Some things just need to be fast. Blogs and CMS's probably don't. Is there anything wrong with having a choice?

Extract service into a stand-alone program; communicate with it from the proper web-wrapper in a web-language.
Post reply on HN