Advertisement Jump to content
Sign in to follow this  
Nathan2222_old

Just another thought (designing a fast but powerful language)

This topic is 1791 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I wanted to ask this in a previous thread but I thought it needed it's topic.
Would it be possible to make a compiled language as fast as c and c++, multi paradigm like c++, less complex than them both and can be used like in really complex situations like in making an OS/game engine/IDE etc.
Just wondering (may have mistakes above).

Thanks.

Share this post


Link to post
Share on other sites
Advertisement

Absolutely.

 

Whether or not any existing languages (such as the above-linked go and D) already meet most of those requirements is pretty subjective; we can obviously measure execution speed for code solving similar tasks, but what qualifies as "less complex" and what qualifies as "really complex situations" really depend on the skills and preferences of the programmer.

 

If you were thinking about starting such a project from scratch you should expect it to be very difficult, to take a lot of work, and to take quite some time to have anything workable; creating your own language (even if it's just a toy language) is however an excellent learning experience that's well worth undertaking at some point if you're interested in the low-level details of programming.

 

 

//EDIT: Please try to give your topics more meaningful titles; "Just another thought" tells a potential reader absolutely nothing about what they made find, so I've edited the title of this topic to be more descriptive.

Edited by jbadams
Added note re: topic titles.

Share this post


Link to post
Share on other sites

//EDIT: Please try to give your topics more meaningful titles; "Just another thought" tells a potential reader absolutely nothing about what they made find, so I've edited the title of this topic to be more descriptive.


thanks for changing the title.

Share this post


Link to post
Share on other sites

Absolutely.
 
Whether or not any existing languages (such as the above-linked go and D) already meet most of those requirements is pretty subjective; we can obviously measure execution speed for code solving similar tasks, but what qualifies as "less complex" and what qualifies as "really complex situations" really depend on the skills and preferences of the programmer.
 
If you were thinking about starting such a project from scratch you should expect it to be very difficult, to take a lot of work, and to take quite some time to have anything workable; creating your own language (even if it's just a toy language) is however an excellent learning experience that's well worth undertaking at some point if you're interested in the low-level details of programming.

i probably will undertake a project like this. I just feel like some things are more misunderstandable than they should be and there should be a better way.
Yersterday, i read an article saying that ruby/python programs involve 5x less lines than c and c++ programs. What does this mean?

Share this post


Link to post
Share on other sites

Of course it would be possible but weather or not it is feasible or even productive is another matter.

by reducing the number of lines required to do something.
Which is why i asked about what 5x less means (i don't want to misunderstand it).
For instance, gta iv contained about 50,000 which included lines and comments. What if the need for the comments (not all) where reduced because you could tell what a piece of code does by taking a glance at it (even by some beginners) and some extra code and extra typing will not be needed thereby enabling you do things faster, increasing productivity.
You *could* reduce the line count by more than 10,000 (maybe).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!