Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
jaden83
Python is "pretty" fast but not as fast as other static-compiled languages in comparison.
Python will scale up. As I said, we're not working at Google scale here.
A lot of habbotard developers seem to think that they're solving problems at massive scale when most retros don't have more than 3k people online.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Caustik
Python will scale up. As I said, we're not working at Google scale here.
A lot of habbotard developers seem to think that they're solving problems at massive scale when most retros don't have more than 3k people online.
Truth be told, that's the mindset I keep for a certain reason... I'm not necessarily looking to help out the habbotard community but get some experience on an enterprise level.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
ovflowd
For big hardware resource python is good. But talking about a raspberry pi. C++ will be much better or actually Java.
Depending of the application Python can use really big memory. I did a code only saying Hello World and was using 32mb of RAM. Stfu..
For my area (IoT) Python isn't good. My team actually did a code with Python to Handle ZigBee packets and do some REST stuff, in the MacBook Pro was running good, but in lower hardware... was like a tortoise.
Imma let you finish but, Python is the best programming language of all time. IoT is only for basement dwellers, and take a REST from your hate m8. You just said it runs slow on lower hardware, but said it runs fast on a Macbook Pro? You must not know what lower hardware is right? :) [/parody]
You did a code only saying Hello World? For one thing you don't understand how complicated strings are in programming, computers don't speak "strings" they speak 1's and 0's, another thing is how you ran it, you likely ran it on defaults and are crying about that? Tell Google to stop using Python, and Dropbox, Pinterest, Hulu, Netflix, Instagram, and whatever else you use that is likely powered by Python. It's good enough, I don't see you doing serious C++ work on here to be talking so highly. If you can't code a simple scripting language correctly don't tell me to shut up? You're using a $35 piece of crap to write code in and you're whining about Python based on that? Nobody is going to run a Habbo server on a Raspberry Pi, only to look like a retard when it hits high enough load. This isn't your IoT community where you need to be closer to Assembly to do anything useful. Everyday people could care less about IoT anyway, right now it is mostly a hobbyist thing. I'd never want half of my house to be on the internet, it's like leaving all your doors to everything you own unlocked.
As Caustik said, we're not here to be Google scale, nor are we here to cater to $35 crappy SBC's or Microcontrollers? As for enterprise experience, Python is used in enterprise. Tell Reddit their Python doesn't scale sometime, or Hulu, or Netflix, then go look at Twitter and how Ruby is going for them, didn't last too long for them. Python gets the job done, and pays for my bills, so till it doesn't pay for my bills, Python is the best programming language in the world. Try making a GUI with Ruby or PhP or Perl, I'll have made one in Python by the time you figure out how to print "Hello World" on the screen, no pun intended.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Moogly
Imma let you finish but, Python is the best programming language of all time. IoT is only for basement dwellers, and take a REST from your hate m8. You just said it runs slow on lower hardware, but said it runs fast on a Macbook Pro? You must not know what lower hardware is right? :) [/parody]
You did a code only saying Hello World? For one thing you don't understand how complicated strings are in programming, computers don't speak "strings" they speak 1's and 0's, another thing is how you ran it, you likely ran it on defaults and are crying about that? Tell Google to stop using Python, and Dropbox, Pinterest, Hulu, Netflix, Instagram, and whatever else you use that is likely powered by Python. It's good enough, I don't see you doing serious C++ work on here to be talking so highly. If you can't code a simple scripting language correctly don't tell me to shut up? You're using a $35 piece of crap to write code in and you're whining about Python based on that? Nobody is going to run a Habbo server on a Raspberry Pi, only to look like a retard when it hits high enough load. This isn't your IoT community where you need to be closer to Assembly to do anything useful. Everyday people could care less about IoT anyway, right now it is mostly a hobbyist thing. I'd never want half of my house to be on the internet, it's like leaving all your doors to everything you own unlocked.
As Caustik said, we're not here to be Google scale, nor are we here to cater to $35 crappy SBC's or Microcontrollers? As for enterprise experience, Python is used in enterprise. Tell Reddit their Python doesn't scale sometime, or Hulu, or Netflix, then go look at Twitter and how Ruby is going for them, didn't last too long for them. Python gets the job done, and pays for my bills, so till it doesn't pay for my bills, Python is the best programming language in the world. Try making a GUI with Ruby or PhP or Perl, I'll have made one in Python by the time you figure out how to print "Hello World" on the screen, no pun intended.
No one (afaik) I haven't said anything about Python not being used in enterprise development. I was clarifying that when I discussed Python's speed in comparison to other languages I wasn't talking about your every day programming task I was talking on a much broader scale.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
I'm actually regretting creating this in Python, it's a great language but I didn't realise until I was far into the project that I fucking hate type inference. I'd rather have my objects easily identifiable, otherwise it causes problems for me, and it's the main reason why there's been some slow development.
I don't want to do this in Java either, because I'm fluent in it and I find it boring to redo something I've done a hundred times over before.
I'm considering doing it in C/C++ because it's such a beautiful language.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Moogly
Imma let you finish but, Python is the best programming language of all time. IoT is only for basement dwellers, and take a REST from your hate m8. You just said it runs slow on lower hardware, but said it runs fast on a Macbook Pro? You must not know what lower hardware is right? :) [/parody]
You did a code only saying Hello World? For one thing you don't understand how complicated strings are in programming, computers don't speak "strings" they speak 1's and 0's, another thing is how you ran it, you likely ran it on defaults and are crying about that? Tell Google to stop using Python, and Dropbox, Pinterest, Hulu, Netflix, Instagram, and whatever else you use that is likely powered by Python. It's good enough, I don't see you doing serious C++ work on here to be talking so highly. If you can't code a simple scripting language correctly don't tell me to shut up? You're using a $35 piece of crap to write code in and you're whining about Python based on that? Nobody is going to run a Habbo server on a Raspberry Pi, only to look like a retard when it hits high enough load. This isn't your IoT community where you need to be closer to Assembly to do anything useful. Everyday people could care less about IoT anyway, right now it is mostly a hobbyist thing. I'd never want half of my house to be on the internet, it's like leaving all your doors to everything you own unlocked.
As Caustik said, we're not here to be Google scale, nor are we here to cater to $35 crappy SBC's or Microcontrollers? As for enterprise experience, Python is used in enterprise. Tell Reddit their Python doesn't scale sometime, or Hulu, or Netflix, then go look at Twitter and how Ruby is going for them, didn't last too long for them. Python gets the job done, and pays for my bills, so till it doesn't pay for my bills, Python is the best programming language in the world. Try making a GUI with Ruby or PhP or Perl, I'll have made one in Python by the time you figure out how to print "Hello World" on the screen, no pun intended.
i like your advice, but guy stay ontopic! I know really well about lower hardware and higher hardware systems, since i work with embedded systems. I also know about machine language you don't need to learn what 0 and 1 are for me. I did only an offtopic comparison that Python can't run very well for advanced systems in things like Raspberry. obviously i will not create a Habbo Server in a Rasp.
Stop being sarcastic. I like you a lot. I think you're a great developer better than me in some things. And why are you talking about Netflix here? lmfao. And Hello World applications are a good way to see how memory a language take over with a basic world knowing application. Also i don't know if you know something about IoT, but if not, please don't try learn to me something about performance. You don't know how difficult it's try to run REST API in an Arduino. With a big complex statemachine. IoT is a lot more complex than Habbo. So you experience and my experience in Habbo are nothing when we go in an IoT scenario. I know it's off topic. But also your comment was a lot off topic... So.. Double off topic hehe..
I liked your joke with the REST word haha. Seriously, i like you, your points are valid. But... please don't try say intelligent words here to make you more smart.
Anyways, @Quackster i wish a good development and luck for you.
I'm totally dumb in Python and never programmed in Python before. So i'm really sorry if i said a lot of shits about Python here.
I only said those things, in a noob way/angle/opinion.
Again, good luck! I'm anxious for new updates!!
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
I'm considering doing it in C/C++ because it's such a beautiful language.
There's a reason the C++ creators are contributing to Golang now.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
jaden83
No one (afaik) I haven't said anything about Python not being used in enterprise development. I was clarifying that when I discussed Python's speed in comparison to other languages I wasn't talking about your every day programming task I was talking on a much broader scale.
Python really is fast enough, stop talking out of your arse.
Quote:
Originally Posted by
Quackster
I'm actually regretting creating this in Python, it's a great language but I didn't realise until I was far into the project that I fucking hate type inference. I'd rather have my objects easily identifiable, otherwise it causes problems for me, and it's the main reason why there's been some slow development.
I don't want to do this in Java either, because I'm fluent in it and I find it boring to redo something I've done a hundred times over before.
I'm considering doing it in C/C++ because it's such a beautiful language.
Most modern tooling makes your objects 'identifiable'. I don't know how you're writing your code, but if you can't discern types and objects, you're definitely doing it wrong.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Caustik
Most modern tooling makes your objects 'identifiable'. I don't know how you're writing your code, but if you can't discern types and objects, you're definitely doing it wrong.
I don't think he's paying attention to Python 3.6 at all?
https://docs.python.org/3.6/library/typing.html
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Moogly
Great, now that requires me to go through every function and add more imports.
I didn't know Python could do that and I don't feel like doing that either.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
Great, now that requires me to go through every function and add more imports.
I didn't know Python could do that and I don't feel like doing that either.
Your call, my suggestion is you make a different thread if you change the project language again, it's a bit polluted at this point with irrelevant commentary.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Python can be up to 400 times slower than C++ and pretty much slower than any other language. Just saying.
Python 3 vs C++ g++ (64-bit Ubuntu quad core) | Computer Language Benchmarks Game
@Quackster don't bother writing it in C++, if you have no experience in C++ you will give up quite quickly.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
The General
@
Quackster don't bother writing it in C++, if you have no experience in C++ you will give up quite quickly.
And if you do bother to go with C++, might want to take a look at D Lang.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
The General
I'm a noob in Python. But just as i said, Python is really more slower.
- - - Updated - - -
what the gosh???
http://image.prntscr.com/image/b19d9...26b19206e0.png
http://image.prntscr.com/image/6a990...750545ab04.png
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Your contrived benchmarks don't mean much; if Python can be used by companies like Dropbox and Instagram, what makes your habbo emulator so special?
Also, @Quackster, if you were using modern python techniques it would probably be more pleasant to use.