Webdevelopment with C++

133 views
Skip to first unread message

maikklein

unread,
Oct 11, 2012, 12:46:26 PM10/11/12
to lif...@googlegroups.com
Hello,

I am studying computer science since 2 years and I learned a lot different languages. But now I want to focus on one language. 

I want to do all sorts of stuff, including webdevelopment. But you find C++ nearly everywhere. Also all my programming friends recommend me to learn C++ instead of scala. Also cryengine and unreal4 are using C++ which I want to try out in the future.
I love scala and lift but I want to focus now on one language and try to master it.

Is there something similar like lift in c++? 


Ps: It is really hard to decide between one main language :(. What would you recommend me?

Olek Swirski

unread,
Oct 11, 2012, 12:55:58 PM10/11/12
to lif...@googlegroups.com
I'm not an expert, but c++ in my opinion is better fit for locally
running apps. For Internet stuff, java based things will be
better. If you want to make locally running apps or unreal5
put your efforts into c++.
For web applications Lift and Scala is the best. There is no silver
bullet for everything. Choose what you want to do, and then
choose the best tool for the given task.
> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
>
>
>

maikklein

unread,
Oct 11, 2012, 1:06:37 PM10/11/12
to lif...@googlegroups.com
Yes that is my problem, I am not sure what I want to do, I think I want to do both. The problem is a would now choose lift and scala for webdevelopment and c++ for everything else. But you will only be good in a programming language if you code in it. If I permanently switch between those languages I don't think I will make any progress (or maybe very slow progress) 

This will be a hard decision.


Olek Swirski

unread,
Oct 11, 2012, 1:10:59 PM10/11/12
to lif...@googlegroups.com
I think, to be good programmer you need different points of view.
Otherwise you
may be only a code monkey. Choose your primary interest and do the other
thing
during weekends. You will find many things that are better learned and
understood
from one perspective, yet very useful in the other.

maikklein

unread,
Oct 11, 2012, 1:14:12 PM10/11/12
to lif...@googlegroups.com
Yes I did this before. I learned Java, c#, python, lua, c++,php and scala. I read a whole book for each language. But I ended up using Java more frequently and now scala. 

I just want to be really good in one language and this forces me to do as much as possible in it.

Olek Swirski

unread,
Oct 11, 2012, 1:14:06 PM10/11/12
to lif...@googlegroups.com
well, maybe It's not always true. one might get "super specialized" in one
area. but anyway I think 2 things would be good, just put more effort in
one that is more important to you. later you may even switch.

Olek Swirski

unread,
Oct 11, 2012, 1:18:08 PM10/11/12
to lif...@googlegroups.com
If you really need to pick one, then go with c++ I guess. When it comes to
web related stuff, there will always be several languages to deal with. Just
to mention JavaScript, but there are more, quite many I would say.

David Pollak

unread,
Oct 11, 2012, 1:27:29 PM10/11/12
to lif...@googlegroups.com
C++ doesn't have native/good garbage collection. I think GC is essential for web development because there isn't really a cycle where you can know when a reference is no longer needed the way you do in headless development or even GUI development.
--
Telegram, Simply Beautiful CMS https://telegr.am
Lift, the simply functional web framework http://liftweb.net


Stefan Bradl

unread,
Oct 11, 2012, 1:37:21 PM10/11/12
to lif...@googlegroups.com

Every language is has its pro's and con's. And learning to program has imo nothing to do with learning a specific language. Programming is much more than Syntax. It is about Problem solving, abstract thinking, concept learning and much more.

I am a real nerd (meaning I really love c++ and the power it has and to solve difficult problems). But believe me that c++ is not suited for every Problem. That is why so many different languages exist. C++ is great if you need absolute control and performance but scala one the other hand is much more concise.

I have learned lots of different languages and developed for different target environments from 8bit controllers over embedded System with a small Linux on it, i did some game development and also webdevelopment. I think it is very important to learn different things. Even if scala is maybe easier Tor learn than c++ it is never a Bad idea to learn more than 1 language.

Programming all the way from a very high abstraction to a very low one will make you a better programmer I think.

In short: learn different things and use the tools with which you can solve your Problem with.

PS
Sry for mistakes it is a pain to write in english on a Smartphone when it is set to german

maikklein

unread,
Oct 11, 2012, 2:24:01 PM10/11/12
to lif...@googlegroups.com
Well screw my friends I learn scala for now. I enjoy the language with its concepts. I'll learn c++ if I will need it. I mean gamescripting shouldn't be hard, even it is in c++. 

Thanks

Dennis Haupt

unread,
Oct 11, 2012, 2:53:47 PM10/11/12
to lif...@googlegroups.com
don't pick just one. there is no reason to. i have used:
java, scala, clojure, sql, javascript, pascal, a bit of assembler and
right now i'm learning haskell. every language will open your eyes a bit
more. picking just one and sticking to it means limiting yourself.
there's no reason not to pick a wide spread language (c#, java, c++) as
a main language, but learning others in the background

Diego Medina

unread,
Oct 11, 2012, 3:07:58 PM10/11/12
to lif...@googlegroups.com
On Thu, Oct 11, 2012 at 2:24 PM, maikklein <maik...@googlemail.com> wrote:
> Well screw my friends I learn scala for now. I enjoy the language with its
> concepts. I'll learn c++ if I will need it. I mean gamescripting shouldn't

Definitely go with what feels right for you, several years ago a very
good friend of me kept telling me to learn perl, because he loved it
and was the best thing that happened to him, in my previous job at
Oracle, some of my coworkers thought I was just playing around when I
told them I was learning scala, they saw it as a toy language. But I
didn;t listen to any of them. the result? I have been working full
time on Scala and Lift for about 8 months, and I look forward to many
more years here.


Good luck in your journey!

Diego


> be hard, even it is in c++.
>
> Thanks
>
> --
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
>
>
>



--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com

Marc Weber

unread,
Oct 11, 2012, 6:48:00 PM10/11/12
to liftweb
Do both. Both have their strength.
Eg Scala is much less verbose for some use cases because you don't have
.h and .c files, classes have very short syntax etc.

For those reasons you will always be able to do almost everything with
both - but for some tasks you may choose either one.

You should also consider learning the basics of any untyped scripting
language such as python,JS,perl,ruby,PHP or the like just to get and
understanding about the differences.

Scala allows you to write lazy code easily - while its much harder in
C++. However C++ has faster startup (no byte compiling).

So as always choose the right tool for a job.

Try to use both languages for problems - and soon you'll get a feeling
about when to use which.

By the way: You can use neither in browsers - can you? So for web
development you also have to learn JavaScript (=JS). There is Java => JS
and I know about some experimental Scala to JS converters. Don't know
whether they are used in production - or whether its a good idea to use
them.

Marc Weber

Donald McLean

unread,
Oct 12, 2012, 12:59:47 AM10/12/12
to lif...@googlegroups.com
When we started on our current project, we evaluated four
technologies: Scala + Lift, GWT, JSF + RichFaces, and Flash.

Scala + Lift was my first choice and now that we're within a couple
months of delivering to production I'm happy with that decision.

GWT was our second choice. The only real drawback is that it's pretty
verbose by comparison. It's very much like writing a Swing
application.

JSF + RichFaces was my third choice. It worked, and it wasn't as
verbose as GWT but I found some things annoying.

Flash was my last choice - it was like writing a Swing application,
except that the sytax was just different enough to be truly annoying.

Vladislav Dorokhin

unread,
Oct 12, 2012, 12:04:43 PM10/12/12
to lif...@googlegroups.com


On Thursday, October 11, 2012 6:46:26 PM UTC+2, maikklein wrote:
I want to do all sorts of stuff, including webdevelopment. But you find C++ nearly everywhere.
Are you writing from nineties? 

Stefan Bradl

unread,
Oct 13, 2012, 5:17:25 AM10/13/12
to lif...@googlegroups.com

I don't think he is...

Embedded Systems rule the world and most of them are using c/c++. Gamedevelopment ist another big area...

AGYNAMIX Torsten Uhlmann

unread,
Oct 13, 2012, 5:33:34 AM10/13/12
to lif...@googlegroups.com
I agree.

There are currently good jobs to be found in the embedded sector (a main motor being the automotive industry).
In these areas you need C and C++ skills.

As they said a few decades ago when we actually still learned C++ at university: Even though you can't see a pointer, you need to know what it is :)

Torsten.
Reply all
Reply to author
Forward
0 new messages