-
Habbo Emulator in C++?
Why haven't we done this yet?
C/C++ are just remarkable languages, I know writing an entire Habbo Emulator out of the language would take a bit of time, and effort, but the outcome would just be so exceptional, and crediting.
I'd try to do something like this by myself, yet I've realized I lack in a few areas which I cannot substitute with my strengths, the average developer.
Another problem with me, and a significant amount of developers everywhere is that the enthusiasm just leaves our bodies as the development proceeds, without a team that is.
If you feel like this is a good idea, I propose to construct a list of C++ developers who would be interested in a development project like this. I cannot find any who still play Habbo (I've asked a few of my co-workers where I work at, as a Junior Software Engineer at an indie Game Studio, none of them are interested :(:)
The real reason that I posted this thread is that I want your input on the pros and cons of a C++ Habbo Emulator, post in the comments below!
-
Re: Habbo Emulator in C++?
Most people around here (including myself; although I'm in the learning process) don't even know C++. Languages like C#/Java are also really much easier. There's no need to think of pointers, resources and GC (garbage collection) in C# and Java. In C++ you have to have knowledge of everything as bad code can seriously damage your computer.
Here's a list of pros & cons:
Pros:
- It's relatively faster than C#/Java.
- It's more unique as a C#/Java emulator has been done a thousand times already.
- It's cross platform (I know Java is too but still).
Cons:
- It's 'hard' to learn somehow.
- There's no garbage collection and you all have to do it yourself.
- If there's a bit of bad code it can damage your computer (especially when working with pointers).
That's all I can think off now. All with all, a C++ emulator would be interesting but I doubt anybody here knows it well or is willing to develop one.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Glaceon
Most people around here (including myself; although I'm in the learning process) don't even know C++. Languages like C#/Java are also really much easier. There's no need to think of pointers, resources and GC (garbage collection) in C# and Java. In C++ you have to have knowledge of everything as bad code can seriously damage your computer.
Here's a list of pros & cons:
Pros:
- It's relatively faster than C#/Java.
- It's more unique as a C#/Java emulator has been done a thousand times already.
- It's cross platform (I know Java is too but still).
Cons:
- It's 'hard' to learn somehow.
- There's no garbage collection and you all have to do it yourself.
- If there's a bit of bad code it can damage your computer (especially when working with pointers).
That's all I can think off now. All with all, a C++ emulator would be interesting but I doubt anybody here knows it well or is willing to develop one.
All valid points you're making there. But a good C++ developer knows how to manage his memory! (Though GC does prove to be more helpful at times, there's always those few object that you forgot to free from the memory heap)
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wotsuba
All valid points you're making there. But a good C++ developer knows how to manage his memory! (Though GC does prove to be more helpful at times, there's always those few object that you forgot to free from the memory heap)
Absolutely right. The whole point is there aren't that many good C++ developers around here willing to develop Habbo. It feels more and more if the section is dying (if it wasn't already dead).
-
Re: Habbo Emulator in C++?
Let's not repeat history. Up the game and stick with Golang, thank me later.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wotsuba
(I've asked a few of my co-workers where I work at, as a Junior Software Engineer at an indie Game Studio, none of them are interested :(:)
You know if you didn't lie, we would all take you more seriously.
I'm not even going to give this thread a valid response just because of seeing that nonsense.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Francis Joseph
You know if you didn't lie, we would all take you more seriously.
I'm not even going to give this thread a valid response just because of seeing that nonsense.
http://i.imgur.com/SRt6Mzg.png
Speak for yourself. Also, I was honestly asking for the input of people knowledgeable in C++, but thanks anyways.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Glaceon
Pros:
- It's relatively faster than C#/Java.
Not really. The JVM does a lot of optimisation. Sure some cases might be faster especially when you're not writing the least complex code.
Quote:
- It's more unique as a C#/Java emulator has been done a thousand times already.
Because everything started with renames from uberemulator. Look at other sections and all they have been using is C++...
Quote:
- It's cross platform (I know Java is too but still).
Not really, must be compiled for different platforms so it isn't.
Quote:
- It's 'hard' to learn somehow.
Just a different syntax, all other stuff is the same basically.
Quote:
- There's no garbage collection and you all have to do it yourself.
Not really, if you don't use pointers you don't have to manually call delete.
Besides that boost has a good library to handle pointers.
And anything else that goes out of scope is automatically destructed.
Quote:
- If there's a bit of bad code it can damage your computer (especially when working with pointers).
Haha no.
EDIT: Haha.
EDIT: Giving me shit tho martin says the same. I get it.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Glaceon
Most people around here (including myself; although I'm in the learning process) don't even know C++. Languages like C#/Java are also really much easier. There's no need to think of pointers, resources and GC (garbage collection) in C# and Java. In C++ you have to have knowledge of everything as bad code can seriously damage your computer.
Here's a list of pros & cons:
Pros:
- It's relatively faster than C#/Java.
- It's more unique as a C#/Java emulator has been done a thousand times already.
- It's cross platform (I know Java is too but still).
Cons:
- It's 'hard' to learn somehow.
- There's no garbage collection and you all have to do it yourself.
- If there's a bit of bad code it can damage your computer (especially when working with pointers).
That's all I can think off now. All with all, a C++ emulator would be interesting but I doubt anybody here knows it well or is willing to develop one.
To put it simply, if you're going to program a Habbo Emulator in C++ you may as well just use D. It's much better. (https://dlang.org)
Now for your pros and cons list.
Speed is irrelevant, Java and C# are more than fast enough. It boils down to the quality of the code.
Uniqueness is completely irrelevant and is not a valid pro.
Cross-platform emulator, already in the works (and has already been done) with the flood of Java Emulators in the development section.
There is garbage collection if you use D.
If you think bad code in software (excluding drivers) can damage a computer then you massively mistaken. Pretty much the only way to cause major damage to a computer from the OS is through overheating. Even then it's the users fault for having shit cooling.
Also, if you mention RAM C++ is more likely to have memory leaks when compared to C# and Java. Even though Java is still a RAM hog. To put it bluntly, your pros and cons list is a load of bollocks.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Glaceon
- It's relatively faster than C#/Java.
Depends. For the most part, yes. But ask yourself the question, is there any need for that kind of performance we get C++ in a god damn Habbo server?
Quote:
Originally Posted by
Glaceon
- It's more unique as a C#/Java emulator has been done a thousand times already.
This isn't even a valid point if you think about it and it has a lot of downsides as this community is imo not able to handle a C++ emulator (by that I mean only a handful of people would understand the code).
Quote:
Originally Posted by
Glaceon
- It's cross platform (I know Java is too but still).
In 2016, C# is also cross-platform.
Quote:
Originally Posted by
Glaceon
- There's no garbage collection and you all have to do it yourself.
You also forget how easy it is to fuck up with memory management because of this.
This entire discussion boils down to high-level languages vs. low-level languages. With high-level languages there is some more overhead compared to low-level ones. On the other hand, you are able to produce code faster on a high-level language compared to a low-level which also introduces many dangers as with memory management, etc. In my opinion, forcing something like a Habbo emulator into C++ is as equivalent as making one in assembly because #yolo.
-
Re: Habbo Emulator in C++?
It really doesn't matter in which language you build an emulator. It only matters when it comes to speed (such as in FPS or RTS) any game with the word 'REAL-TIME' in it. For a game like Habbo it's okay since it's not a fast phased game.
One of the reasons why there aren't any C++ emulators is simple. It takes a lot of time to develop stable & decent C++ application compared to C#, Java or any high level language. In the private server community time is crucial and a lot of people like a easy to set-up solution. High level languages make it possible to write code faster so that's why they are used more compared to C++.
Notice that I don't use the terms better or best since this can lead into nasty discussions. Everyone is free to build their emulator in the language they prefer. Writing a C++ emulator might be a big achievement for you but not for the users in the section. It's all about how user-friendly and stable the emulator is for the users in the community. This might sound harsh but the average user in this section doesn't even know how to program and they are not interested in how an emulator was programmed. They only care if they can use it.
There is nothing more to discuss about this topic tough since it has already been mentioned inside some other sections all these threads have the same outcome. It doesn't matter what language you pick, it just needs to work properly.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
ησвяαιη
To put it simply, if you're going to program a Habbo Emulator in C++ you may as well just use D. It's much better. (
https://dlang.org)
Now for your pros and cons list.
Speed is irrelevant, Java and C# are more than fast enough. It boils down to the quality of the code.
Uniqueness is completely irrelevant and is not a valid pro.
Cross-platform emulator, already in the works (and has already been done) with the flood of Java Emulators in the development section.
There is garbage collection if you use D.
Still uses the C compiler...
And that garbage collection can be implemented in C++ too if you think about it.
dlang isn't much better than C/C++. Its just a framework like .NET except they have their own syntax but still use the standard libraries.
Also the JVM is written in C too so. I don't know about the C# VM. Probably too.
In the end it all comes down to C and C++ is just a superset of C.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
Still uses the C compiler...
And that garbage collection can be implemented in C++ too if you think about it.
dlang isn't much better than C/C++. Its just a framework like .NET except they have their own syntax but still use the standard libraries.
Also the JVM is written in C too so. I don't know about the C# VM. Probably too.
In the end it all comes down to C and C++ is just a superset of C.
D is a framework? Are you retarded? (I think we all know the answer to that question..)
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
dlang isn't much better than C/C++. Its just a framework like .NET except they have their own syntax but still use the standard libraries.
Quote:
The D programming language is an object-oriented, imperative, multi-paradigm system programming language created by Walter Bright of Digital Mars and released in 2001.
Hmm... what did you say about a framework? Boost is a framework, QT is a framework, dlang is NOT a framework at all.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
CodeDragon
It really doesn't matter in which language you build an emulator. Especially when it comes to speed. For a game like Habbo it's okay since it's not a fast phased game.
One of the reasons why there aren't any C++ emulators is simple. It takes a lot of time to develop stable & decent C++ application compared to C#, Java or any high level language. In the private server community time is crucial and a lot of people like a easy to set-up solution. High level languages make it possible to write code faster so that's why they are used more compared to C++.
Notice that I don't use the term better or best since this can lead into nasty discussions. Everyone is free to build their emulator in the language they prefer. Writing a C++ emulator might be a big achievement for you but not for the users in the section. It's all about how user-friendly and stable the emulator is for the users in the community. This might sound harsh but the average user in this section doesn't even know how to program and they are not interested in how an emulator was programmed. They only care if they can use it.
There is nothing more to discuss about this topic tough since it has already been mentioned inside some other sections all these threads have the same outcome. It doesn't matter what language you pick, it just needs to work properly.
omg pls somebodi code and send me the best PhP emulator
veri moch I need for my 10000 hotel retro users
------
Jokes aside, it does matter what language it's coded in. But you're absolutely right that performance cannot be compared between the major picks (C, Java, .NET etc.) - when coding a emulator for habbo hotel.
But there are very many libraries for Java, so that should be the easiest one to make and get stable.
For me the perfect emulator would have it's core/api coded in C++, and on top of that features (possibly as plugins) coded in LUA.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
SeanRog
Jokes aside, it does matter what language it's coded in.
Take a look at the languages used in the HH section. C#, Java, PHP (PhP cos of marit), with a few C++ frameworks here and there. C# and Java are more than enough in terms of speed for god damn Habbo emulation. Making an Emulator in C++ would just be completely unnecessary and overkill to the extreme. Of course, you can do it for learning purposes but don't expect anyone to actually use it. All the majority of the HH section care about is how many users it can hold and what features it has. They don't care about the programming language at all.
The quality of and the thought process put into the code is what matters, programming language essentially doesn't matter. If you have excellent code, it will perform well regardless.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
ησвяαιη
Making an Emulator in C++ would just be completely unnecessary and overkill to the extreme.
Couldn't agree more. With your whole post really.
And The General is so mad lol
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
Not really, must be compiled for different platforms so it isn't.
What? Just because it has to be compiled for each platform doesn't mean it isn't cross-platform. Using your logic: Java's runtime must be compiled for each platform so it is not cross-platform.
My language of choice is D for many reasons. You could do an emulator in D and not have the same issues as you would in Java, C++ or C#. Natively compiled, and supports garbage collection (optionally turned off, or you can define how code is treated by the garbage collector) as well as many other programming paradigms. If you make an Emulator in D you could re-use code for a CMS using Vibe.d which compiles your layouts into native machine code using a templating system similar to C++'s templating system. Of course this section is full of developers that take 5 years to code emulators that never really get used much by actual users. Nobody shares code, so it doesn't help either. I'll stick to D for my networking projects for now. Object Orientation, procedural, doesn't matter, the choice is yours. There's also functional capabilities, concurrency, parallelism, etc. I posted the old Habbo encoding in D sometime back, so anyone could use that to write old school flash emulators. Writing a newer one is fairly trivial. D has the benefit of being more cross-platform than C++ when it comes to networking.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wotsuba
Why haven't we done this yet?
C/C++ are just remarkable languages, I know writing an entire Habbo Emulator out of the language would take a bit of time, and effort, but the outcome would just be so exceptional, and crediting.
I'd try to do something like this by myself, yet I've realized I lack in a few areas which I cannot substitute with my strengths, the average developer.
Another problem with me, and a significant amount of developers everywhere is that the enthusiasm just leaves our bodies as the development proceeds, without a team that is.
If you feel like this is a good idea, I propose to construct a list of C++ developers who would be interested in a development project like this. I cannot find any who still play Habbo (I've asked a few of my co-workers where I work at, as a Junior Software Engineer at an indie Game Studio, none of them are interested :(:)
The real reason that I posted this thread is that I want your input on the pros and cons of a C++ Habbo Emulator, post in the comments below!
C++ is outdated and it's not object-oriented. To accomplish an emulator with it would be redundant and time consuming. Also, C# is based on C++, so why not use what has it all? C++ is not hard it's just tedious compared to newer and more supported languages. C++ can't really damage computers based off bad code, in essence any program in any language can damage a computer it just depends what the program is doing. Infinite loops in C++ aren't usually handled well and can be problematic, but beyond that it's just like anything else. In terms of moving forward, C++ is the complete opposite direction to go in.
Hey guys, I have a great idea, let's do a Habbo Emulator in FORTRAN. Or you know what? Let's just do it in machine language, I'll start now.
01101100 01101111 01101100 00100000 01100110 01110101 01101011 00100000 01100100 01100001 01110100
- - - Updated - - -
Quote:
Originally Posted by
Moogly
What? Just because it has to be compiled for each platform doesn't mean it isn't cross-platform. Using your logic: Java's runtime must be compiled for each platform so it is not cross-platform.
My language of choice is D for many reasons. You could do an emulator in D and not have the same issues as you would in Java, C++ or C#. Natively compiled, and supports garbage collection (optionally turned off, or you can define how code is treated by the garbage collector) as well as many other programming paradigms. If you make an Emulator in D you could re-use code for a CMS using Vibe.d which compiles your layouts into native machine code using a templating system similar to C++'s templating system. Of course this section is full of developers that take 5 years to code emulators that never really get used much by actual users. Nobody shares code, so it doesn't help either. I'll stick to D for my networking projects for now. Object Orientation, procedural, doesn't matter, the choice is yours. There's also functional capabilities, concurrency, parallelism, etc. I posted the old Habbo encoding in D sometime back, so anyone could use that to write old school flash emulators. Writing a newer one is fairly trivial. D has the benefit of being more cross-platform than C++ when it comes to networking.
D is a great choice in terms of the language itself, but the reason it will never be used in this section is because you're dealing with developers who know little more than the basics of programming and when they change the name of a file it automatically becomes 100% their work. So, without an IDE, development kit or some type of library to back them up, they have no idea what to do. While there are plugins for VB and shit, they wouldn't even know where to start.
They only teach Java in schools now, it's where most of the jobs are.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wreckless
They only teach Java in schools now, it's where most of the jobs are.
In my school to get my degree I had to learn C, C++, C#, Java, PHP, Python, JavaScript, and other languages in the mix. Schools teach whatever they have available. D is fantastically simple, I will admit it lacks tooling though, I personally use Text Adept for D programming which isn't exactly ideal for anyone really. As for renames, there's no renames if you release only binaries. :)
Edit:
Whoever said D is a "framework" has no idea what they're talking about, and should stop pretending they ever have a clue. D is a fully compiled programming language. It is it's own programming language. It's compiler is written in D itself, and compiled with the DMD compiler itself, or the GNU D Compiler (GDC). That's a lot more than you could say about .NET or the JDK which are frameworks. D has it's own standard library and supports the C standard libraries out of the box as well to boot.
Edit 2:
@Wreckless - One thing D lacks is proper tooling, I am toying on my time off at work with adding D support to CodeLite, hopefully someday D will shine. At least Facebook seems to think it does.
-
Habbo Emulator in C++?
Quote:
Originally Posted by
Moogly
In my school to get my degree I had to learn C, C++, C#, Java, PHP, Python, JavaScript, and other languages in the mix. Schools teach whatever they have available. D is fantastically simple, I will admit it lacks tooling though, I personally use Text Adept for D programming which isn't exactly ideal for anyone really. As for renames, there's no renames if you release only binaries. :)
Edit:
Whoever said D is a "framework" has no idea what they're talking about, and should stop pretending they ever have a clue. D is a fully compiled programming language. It is it's own programming language. It's compiler is written in D itself, and compiled with the DMD compiler itself, or the GNU D Compiler (GDC). That's a lot more than you could say about .NET or the JDK which are frameworks. D has it's own standard library and supports the C standard libraries out of the box as well to boot.
Edit 2:
@
Wreckless - One thing D lacks is proper tooling, I am toying on my time off at work with adding D support to CodeLite, hopefully someday D will shine. At least Facebook seems to think it does.
Well there are other languages taught, but from what I've seen, the main courses involve Java. I take it upon myself to learn other languages. To be honest, once you know the basic concepts of programming it's just a matter of syntax and other small details to learn other languages. It would be cool to see a release in something other than C# or Java though. Especially because most of these "developers" wouldn't know how to edit it so they can't rename it.
D is a great choice if you know what you're doing, like you said it lacks tooling and many of the options that more supported languages offer. However, with the right skills it can be just as useful as Java and C# if not more useful.
-
Re: Habbo Emulator in C++?
I don't have alot of experience in any framework, But I still ask people, Why use something old, when you can create the same thing, But better in another more updated language, And why even bother think about it when you can give it a shot, Then quit doing it after some months, Just like everyone else tried, Everyone should realise that, Just, Re-writing the programming code isn't really needed, It will still be the same thing. Right now are the most popular frameworks for habbo emulators JAVA and C#, And I'd suggest to stick to that untill something new comes out, etc.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
BronzeSpider547
I don't have alot of experience in any framework, But I still ask people, Why use something old, when you can create the same thing, But better in another more updated language, And why even bother think about it when you can give it a shot, Then quit doing it after some months, Just like everyone else tried, Everyone should realise that, Just, Re-writing the programming code isn't really needed, It will still be the same thing. Right now are the most popular frameworks for habbo emulators JAVA and C#, And I'd suggest to stick to that untill something new comes out, etc.
There are many benefits to using older languages, it all depends on; type of project, target audience, knowledge, etc. There are many factors that go into selecting a language. Just because it's newer, doesn't mean it's better. In fact, newer languages are usually worse since there is limited documentation / basically no real world experience. Older languages on the other hand, usually have more documentation, a lot more real world experience and is more refined.
Take a look at PHP 7. It's essentially a complete rewrite of PHP to use less memory and perform a lot better. People and/or companies wouldn't just instantly move over to that once it is released, because of the fact of how much has changed and there isn't much documentation about it as well as real world experience. Probably a poor example, but what I'm trying to get across is that it's best to wait for newer languages to get real world experience to help with bug fixes and other issues people and/or companies may come across.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
ησвяαιη
There are many benefits to using older languages, it all depends on; type of project, target audience, knowledge, etc. There are many factors that go into selecting a language. Just because it's newer, doesn't mean it's better. In fact, newer languages are usually worse since there is limited documentation / basically no real world experience. Older languages on the other hand, usually have more documentation, a lot more real world experience and is more refined.
Take a look at PHP 7. It's essentially a complete rewrite of PHP to use less memory and perform a lot better. People and/or companies wouldn't just instantly move over to that once it is released, because of the fact of how much has changed and there isn't much documentation about it as well as real world experience. Probably a poor example, but what I'm trying to get across is that it's best to wait for newer languages to get real world experience to help with bug fixes and other issues people and/or companies may come across.
I wasn't implying that old languages are bad, C++ is a good option for many reasons and is still used widely, but for the purposes of Habbo Retros, C# is just, imho a better option than C++ and it does have real world experience. However, there are many options that are better than C# as well, at least in my honest opinion.
-
Re: Habbo Emulator in C++?
If you want a habbo server in c++, make it yourself
-
Re: Habbo Emulator in C++?
I do like the discussion which is going on here, so here are my thoughts.
But I think most of you guys are just having fetishes about a certain language because "it's cool", you know what I'm saying...?
My opinion about "there is a language for every job", so, what makes C# or Java not do the job for making a Habbo emulator in it.
If you want to kill the section even more, then go ahead, make all your emulators from now on in C++ or any other "complicated" language. Most of the section doesn't understand it anyways, not even sure if they're willing to understand it, but that's another story.
I think one of the main reasons why Habbo retro's is still a thing is because the not so wel educated people can actually understand the language, talking about C# and Java.
So for once let me finialize my post with this:
Choosing the language what makes life easier and we can actually acomplise something with, or choosing a language which makes shit harder and nobody gets something done in it.
Goodluck with the discussion, I'm reading it with some popcorn next to me.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wreckless
D is a great choice if you know what you're doing, like you said it lacks tooling and many of the options that more supported languages offer. However, with the right skills it can be just as useful as Java and C# if not more useful.
Dub makes D really great btw, but it's got it's own oddities, no IDE really works with dub yet though, except DLangIDE.
Dub Packages: Find, Use and Share DUB Packages - DUB - The D package registry
DLangIDE: https://github.com/buggins/dlangide
D has a couple of frameworks for DB, some guy redid Hibernate for D as well. Lot's of fun things to do with D. If I did anything with D I might not release the code just binaries though, just to keep people's mouths shut, everyone wants to open code and critique, but nobody wants to shut up, fix the code and compile it lol.
-
Re: Habbo Emulator in C++?
@Joopie you make some fine points. I think we're merely discussing possibilities and options here though. I've already stated my case about C++ because C# and Java offer much more compared to C++ considering they still offer most if not all of what C++ has to offer and are much simpler syntactically. I can agree that, for this particular section it is best to stick with the simplest options and most widely known languages for the purposes of keeping the section alive. If we develop things that only we really know how to edit and understand, then what happens when we decide to move on, the section dies as if it isn't close enough to dying already.
Besides, I think the least of our troubles in this section is deciding what languages to use. For Emulators, C# and Java are clearly the simplest and most viable option, and for CMS's, PHP seems to be the only one striving. The real issues here are project management and team management. Projects should not take as long as they do here, and teams are not consistent and there's always "too many chiefs, and not enough indians" or in other words, too many leaders and not enough followers. Most of all, there's never one consistent team leader or there is and they have no clue how to manage a project.
@Moogly Thanks for the links! I'll be sure to check it out!
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wreckless
@
Moogly Thanks for the links! I'll be sure to check it out!
Forgot to mention Vibe.d the web framework for D. Something C++ is not really known for, and yet D can leverage the same power.
vibe.d
You will note that the template engine used is similar to Jade from node.js they call their implementation Diet, and basically, on compile time, the compiler compiles the templates from "Diet" to HTML into the executable itself. As far as templates is concerned the hard disk is never truly touched, it's accessed via memory. :)
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wreckless
C++ is outdated and it's not object-oriented.
Dude seriously? You are saying C++ is not object-oriented? Please go back to school.
C++ is more updated than C#. Currently C++ has many more versions being released. (C++11, C++14, C++17) and is almost feature complete.
Java isn't more popular than C++, especially in commercial applications. Every program you use is written in C++ except from minecraft and guess what, they are moving to C++ too because Java doesn't have all the capabilities C++ offers! Its why most games are written in C++.
C# and Java both lack multiple inheritance. They have been trying to fix this by using interfaces (virtual class C++). There is a lot more to be listed what is missing from C# and Java that C++ does actually offer. C++ is deterministic which C# and Java isn't because of the VM.
If there is anything more annoying than people that cannot read stacktraces then it is software where you don't know whats happening.
Quote:
They only teach Java in schools now, it's where most of the jobs are.
It is because it is basic, simple stacktraces that most people still don't even understand and not a lot of work to use external libraries.
For Java all you need to know is syntax, for C++ on the other hand you are expected to know what a compiler and linker is, how libraries are added and build and in what order that happens. On top of that the error reporting turns a lot of people away from C++ because too complicated.
Quote:
Originally Posted by
Moogly
Forgot to mention Vibe.d the web framework for D. Something C++ is not really known for, and yet D can leverage the same power.
vibe.d
You will note that the template engine used is similar to Jade from node.js they call their implementation Diet, and basically, on compile time, the compiler compiles the templates from "Diet" to HTML into the executable itself. As far as templates is concerned the hard disk is never truly touched, it's accessed via memory. :)
C++ can be used too in Chrome: https://developer.chrome.com/native-...tutorial-part1
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
Dude seriously? You are saying C++ is not object-oriented? Please go back to school.
C++ is more updated than C#. Currently C++ has many more versions being released. (C++11, C++14, C++17) and is almost feature complete.
Java isn't more popular than C++, especially in commercial applications. Every program you use is written in C++ except from minecraft and guess what, they are moving to C++ too because Java doesn't have all the capabilities C++ offers! Its why most games are written in C++.
C# and Java both lack multiple inheritance. They have been trying to fix this by using interfaces (virtual class C++). There is a lot more to be listed what is missing from C# and Java that C++ does actually offer. C++ is deterministic which C# and Java isn't because of the VM.
If there is anything more annoying than people that cannot read stacktraces then it is software where you don't know whats happening.
It is because it is basic, simple stacktraces that most people still don't even understand and not a lot of work to use external libraries.
For Java all you need to know is syntax, for C++ on the other hand you are expected to know what a compiler and linker is, how libraries are added and build and in what order that happens. On top of that the error reporting turns a lot of people away from C++ because too complicated.
C++ can be used too in Chrome:
https://developer.chrome.com/native-...tutorial-part1
C++ supports OOP, but it is not object oriented. Please go back to school.
C++ is definitely not the most widely used language anymore. You apply for a job at Google, Facebook, or any other tech giant, they aren't looking for C++ developers. They want Java, C#, Python, JavaScript, PHP, Ruby, etc. I know this because I've been researching internships and jobs for my last few years of college.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wreckless
C++ supports OOP, but it is not object oriented. Please go back to school.
C++ is definitely not the most widely used language anymore. You apply for a job at Google, Facebook, or any other tech giant, they aren't looking for C++ developers. They want Java, C#, Python, JavaScript, PHP, Ruby, etc. I know this because I've been researching internships and jobs for my last few years of college.
Please stop you're making a fool out of yourself.
C++ is a multi-paradigm programming language supporting
functional
imperative
object-oriented
template meta programming
The idea is that C++ is not just an OO language but more.
Define what you call OO or get out because you don't even give arguments all you try to do is convince me of the garbage thats in your head by your brainwashing school. LOL.
I'd be fired if I tell my coworkers that C++ is not OO.
Depends what department. Their search algorithms are all written in C++ (MapReduce, BigTable etc)
And most software you run on your little windows (LOL) computer is C++.
Sources:
http://www.stroustrup.com/oopsla.pdf (<<< author of C++)
https://en.wikipedia.org/wiki/Google_Search
http://static.googleusercontent.com/...uce-osdi04.pdf
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
Please stop you're making a fool out of yourself.
C++ is a multi-paradigm programming language supporting
functional
imperative
object-oriented
template meta programming
The idea is that C++ is not just an OO language but more.
Define what you call OO or get out because you don't even give arguments all you try to do is convince me of the garbage thats in your head by your brainwashing school. LOL.
I'd be fired if I tell my coworkers that C++ is not OO.
Depends what department. Their search algorithms are all written in C++ (MapReduce, BigTable etc)
And most software you run on your little windows (LOL) computer is C++.
Sources:
http://www.stroustrup.com/oopsla.pdf
https://en.wikipedia.org/wiki/Google_Search
http://static.googleusercontent.com/...uce-osdi04.pdf
OOP isn't intrinsic to C++. You can write a program in C++ without using OOP at all.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Jax
OOP isn't intrinsic to C++. You can write a program in C++ without using OOP at all.
Thats what he said...?
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Joopie
Thats what he said...?
Which is basically what Wreckless originally said.. The operative word being 'supports'.
-
Re: Habbo Emulator in C++?
I'm not saying C++ is a bad language, I'm just saying it's not the most widely used language.
Maybe your little Windows computer runs everything on C++ because most of the software for it was developed years ago.
OO is OO, if I have to define that for you, maybe you should go back to school.
C++ is not by default object oriented. C++ is in essence a procedural style of programming. Like I said, OO is an option, but it's not the primary purpose of C++.
My Top Programming School in the Country*
My big Linux Computer*
Btw when can we expect your emulator, my estimate is 2025 based on the rate you're going.
Why does everything have to be an argument with you? I don't think discussion is within your capable intellect.
C# and Java for the purposes of this section are better options. They are simpler syntactically and algorithmically. I'm not knocking the C++ language especially considering its one of the most powerful languages out there.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Jax
OOP isn't intrinsic to C++. You can write a program in C++ without using OOP at all.
Thats what I said. Its a multi paradigm language meaning you can use it for multiple paradigms.
Quote:
Originally Posted by
Jax
Which is basically what Wreckless originally said.. The operative word being 'supports'.
No. He didn't. If you read it again he said:
Quote:
C++ supports OOP, but it is not object oriented
I think the original C++ author knows better than @Wreckless
Quote:
Originally Posted by
Wreckless
I'm not saying C++ is a bad language, I'm just saying it's not the most widely used language.
Maybe your little Windows computer runs everything on C++ because most of the software for it was developed years ago.
OO is OO, if I have to define that for you, maybe you should go back to school.
C++ is not by default object oriented. C++ is in essence a procedural style of programming. Like I said, OO is an option, but it's not the primary purpose of C++.
My Top Programming School in the Country*
My big Linux Computer*
Btw when can we expect your emulator, my estimate is 2025 based on the rate you're going.
Why does everything have to be an argument with you? I don't think discussion is within your capable intellect.
C# and Java for the purposes of this section are better options. They are simpler syntactically and algorithmically. I'm not knocking the C++ language especially considering its one of the most powerful languages out there.
Your arguements are just a joke.
Windows is written in C++, kernel in C
Mac is written in Objective C, kernel in C
Linux is written in C, KDE in C++
Saying not widely used is just a joke and therefor the ignorant. Everything comes from C/C++.
Based on C which is already imperative, C++ was intended to be OO by adding support for classes and polymorphism. Something which C lacked. C++ has then been improved by adding meta template programming and functional support.
Everything has been derived from C, PHP is written in C, C# comes from C++, C++ comes from C.
And no OO is not an option for C++. It is its inteded way of being used. Its basically saying well I can do imperative programming in Java, so its not a object-oriented language either. If you want a pure OO programming language then I suggest you to use SmallTalk. Oh wait thats 40 years old. Therefor outdated and shouldnt be used. Atleast, according to your 'logic'.
Its already released, 2 months ago.
-
Re: Habbo Emulator in C++?
Well. He's still correct. It isn't an object oriented language fundamentally, it's merely supported.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
Thats what I said. Its a multi paradigm language meaning you can use it for multiple paradigms.
No. He didn't. If you read it again he said:
I think the original C++ author knows better than @
Wreckless
Your arguements are just a joke.
Windows is written in C++, kernel in C
Mac is written in Objective C, kernel in C
Linux is written in C, KDE in C++
Saying not widely used is just a joke and therefor the ignorant. Everything comes from C/C++.
Based on C which is already imperative, C++ was intended to be OO by adding support for classes and polymorphism. Something which C lacked. C++ has then been improved by adding meta template programming and functional support.
Everything has been derived from C, PHP is written in C, C# comes from C++, C++ comes from C.
And no OO is not an option for C++. It is its inteded way of being used. Its basically saying well I can do imperative programming in Java, so its not a object-oriented language either. If you want a pure OO programming language then I suggest you to use
SmallTalk. Oh wait thats 40 years old. Therefor outdated and shouldnt be used. Atleast, according to your 'logic'.
Its already released, 2 months ago.
Nice facts, Google some more.
The more you argue this, the stupider you look because I'm not disagreeing with you.
C++ is an option, but it is not object oriented. It supports OOP, but it is not OO.
If you want to program one in C++, be my guest. It's just not a viable option for the community considering its syntax is more complex and it is a PROCEDURAL paradigm at the end of the day.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Wreckless
Nice facts, Google some more.
The more you argue this, the stupider you look because I'm not disagreeing with you.
C++ is an option, but it is not object oriented. It supports OOP, but it is not OO.
If you want to program one in C++, be my guest. It's just not a viable option for the community considering its syntax is more complex and it is a PROCEDURAL paradigm at the end of the day.
It supports Object Oriented but it is not object oriented.
-
Re: Habbo Emulator in C++?
This is getting ridiculous now...
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
ησвяαιη
This is getting ridiculous now...
Yeah it is just hard to tell brainwashed people from the USA's best school otherwise.
I'm not sure if he is just trolling or stupid.
But yes answer to your question; its possible but takes more effort. The amount of effort people rather not want to take. Being lazy they just prefer C# because butterfly is already there and it is much more easier to mess around with that than taking a bit of effort to write something from scratch.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
Yeah it is just hard to tell brainwashed people from the USA's best school otherwise.
I'm not sure if he is just trolling or stupid.
But yes answer to your question; its possible but takes more effort. The amount of effort people rather not want to take. Being lazy they just prefer C# because butterfly is already there and it is much more easier to mess around with that than taking a bit of effort to write something from scratch.
It's only getting ridiculous because you continue to argue over something so childish. It's legitimately just semantics. It's like arguing over who shot first Han or Greedo? It really makes no difference which it is. There's a difference between being OOP and supporting OOP. While yes, C++ is technically multi-paradigm, it is not simply OO. Primitive data types are not objects and I know now you're going to start bitching that it's the same thing with Java. When you call it OO, you limit it to that, and it's not just OO, it's multi-paradigm therefore it is not OO, it supports OO.
You can insult me and my country all you like, but the more you do that, you just look like more of an asshole who needs to insult people to feel like he won an argument. A stupid argument at that. Does it satisfy you to win arguments on the internet? Because you are a douchebag, the fact that you felt the need to message me on Skype and start crying like a little kid in a toy store shows that you have serious anger issues. Keep googling facts and complaining because it really is just a joke to me.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
I'm not on about Client-Side usage. I'm on about building an entire website back-end a la PHP, ASP.NET, JSP, etc. but compiled. Your website requires no Apache, no Nginx, unless you want to use them to proxy your website, it is compiled into machine code. Your layouts are compiled into your .exe file in the case of windows. C++ is not really big on back-end web development typically, Go is probably better for that anyway (a lot less code). Idk why you seem to act high and mighty when you have issues reading basic posts, I don't use big words, English is my second language after all.
Quote:
Originally Posted by
The General
It supports Object Oriented but it is not object oriented.
Dude I don't understand why you can't understand that, you said C++ is multi-paradigm, that literally means that it can be programmed in any paradigm you're comfortable with. English is not my first language and I understand that much, it's not that hard. So high and mighty you behave in these forums, but you can't seem to grasp simple programming ideas. Python is the same, you can code Object Oriented, or you can choose not to, that doesn't stop it from being an Object Oriented language, same with PHP, Perl, Ruby, etc. heck D can do the same as well. I can either make a bunch of functions in one file, or I can make a class and make the relevant parts Object Oriented.
-
Re: Habbo Emulator in C++?
is so funny threads where people discuss what language is better, or what language do X thing, and forget about the main reason from thread :lol:
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Bola
is so funny threads where people discuss what language is better, or what language do X thing, and forget about the main reason from thread :lol:
Nobody's forgotten, we're just answering each other's arguments about C++. I think C by itself is sufficient for an emulator, and so much so I know in another section on RZ there's an emulator coded in full blown C and it holds thousands upon thousands of users in a much more complicated game than Habbo.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Moogly
Nobody's forgotten, we're just answering each other's arguments about C++. I think C by itself is sufficient for an emulator, and so much so I know in another section on RZ there's an emulator coded in full blown C and it holds thousands upon thousands of users in a much more complicated game than Habbo.
C would even be better. Once used correctly it should technically hold more than any other emulator is capable of.
Its the reason why operating systems (kernels & drivers) are written in C (Or languages derived from C).
Quote:
Originally Posted by
Moogly
that doesn't stop it from being an Object Oriented language
Its what I am saying...
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
The General
Yeah it is just hard to tell brainwashed people from the USA's best school otherwise.
I'm not sure if he is just trolling or stupid.
But yes answer to your question; its possible but takes more effort. The amount of effort people rather not want to take. Being lazy they just prefer C# because butterfly is already there and it is much more easier to mess around with that than taking a bit of effort to write something from scratch.
What the hell is wrong with you? How does someone wanting to learn from existing common place material make them lazy? You're so contradicting its unreal. You realize that individuals have preferences? Others prefer what others don't, its the point of having a brain. I for one do not like C++ nor C just down to the syntax and nature of the language. I'm perfectly capable of learning them, that doesn't make me lazy nor anyone else lazy if they have the same mindset.
Otherwise said, there would be a fairly amount of C++ based emulators however the majority of people do not prefer the language. Being a programmer isn't going out of your way to learn every language you can for the sake of it. If you're comfortable within your preferred languages then there is no issue with that. There's a reason that specialist jobs exist and employees tend not to hire cross-language developers.
Stop being so hard headed sometimes, you literally just type nonsense most of the time now-in-days.
I can't decide if its because you work for a development company that you think you're above everyone else or if its down to you having a degree. Neither put you above anyone. I'm self-taught and have respectively been in the industry for the past three years... now a senior. There is always going to be things that you're not fully aware of or you don't understand. Instead of turning to Google for help, how about you just understand where you're wrong and learn from that?
Once upon a time you wasn't such an narcissistic fool.
-
Re: Habbo Emulator in C++?
Quote:
Originally Posted by
Francis Joseph
What the hell is wrong with you? How does someone wanting to learn from existing common place material make them lazy? You're so contradicting its unreal. You realize that individuals have preferences? Others prefer what others don't, its the point of having a brain. I for one do not like C++ nor C just down to the syntax and nature of the language. I'm perfectly capable of learning them, that doesn't make me lazy nor anyone else lazy if they have the same mindset.
Otherwise said, there would be a fairly amount of C++ based emulators however the majority of people do not prefer the language. Being a programmer isn't going out of your way to learn every language you can for the sake of it. If you're comfortable within your preferred languages then there is no issue with that. There's a reason that specialist jobs exist and employees tend not to hire cross-language developers.
Stop being so hard headed sometimes, you literally just type nonsense most of the time now-in-days.
I can't decide if its because you work for a development company that you think you're above everyone else or if its down to you having a degree. Neither put you above anyone. I'm self-taught and have respectively been in the industry for the past three years... now a senior. There is always going to be things that you're not fully aware of or you don't understand. Instead of turning to Google for help, how about you just understand where you're wrong and learn from that?
Once upon a time you wasn't such an narcissistic fool.
This is funny, coming from you...
Know why? You're him, he's you, 2 peas in a fucking pod!
Not choosing "sides" here I'm just calling it like I see it. If you're going to sit back and judge him for being an "narcissistic fool" disregarding every single post you've made against me, specifically... this my friend, this makes you a hypocrite!
Nobody came on this thread to talk about if I'm lying about where I may or may not work. But of course you pinpoint that, and knowing you, you'll try to start an argument that has nothing to do with the thread in it's entirety. You're so pretentious, and egocentric that you feel as though you know more than me, about me? I D I O T.
:junglejane: It's also funny how you dislike the post where I shut you down.
- - - Updated - - -
Anyways, I think a C++ emulator would be an interesting project for the community considering the fact that a lot of members have different viewpoints already on the simplest of languages. And being that C++ is more complex and capable, I wonder the controversy that'd stir up being developers regarding the tactics they use to construct an emulator.
I also wonder, (this might stir up some debate) but do you prefer OO or procedural when designing "multi-threaded" applications?
Me, myself, I have no preferences regarding this type of decision but the decision itself (indecisive). From my experiences and the people I know, who I would refer to as a classic C/C++ developer is someone that has had experience with OOP but doesn't necessarily prefer it (some actually don't like it), they prefer structs instead of classes and knowing that there is no major difference between the 2 except the occasion in which you would use them, is 1 of the reasons you have to consider procedural programming... vs the modern C++ developer who are of course much younger than the "classic C/C++ developer" and in my eyes are would use namespaces and classes, and have a bunch of files, etc.
Just calling it like I see it, again x)
-
Re: Habbo Emulator in C++?
I think it's time to wrap up this discussion. The original conclusion was made a while ago so I'm closing this.