What about a emulator in a language like Go?

Page 1 of 3 123 LastLast
Results 1 to 15 of 41
  1. #1
    Member Amariconao is online now
    MemberRank
    Nov 2011 Join Date
    62Posts

    What about a emulator in a language like Go?


    RaGEZONE Recommends

    RaGEZONE Recommends

    What u think about create a emulator in "new languages" like Go?


  2. #2
    Death from above! The General is offline
    The OmegaRank
    Aug 2011 Join Date
    8,816Posts

    Re: What about a emulator in a language like Go?

    Not sure what your question is. Any language that supports tcp is possible.
    Its a lot of effort to write one from scratch.
    If you are using Arcturus, contact me
    Skype: wesley.jabbo
    Discord: TheGeneral#0063

  3. #3
    Member Amariconao is online now
    MemberRank
    Nov 2011 Join Date
    62Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by The General View Post
    Not sure what your question is. Any language that supports tcp is possible.
    Its a lot of effort to write one from scratch.
    It's not a question. It's a debate about use new languages for write emulators like Go. Go is perfect for that. Go is a language server-oriented. It's perfect for concurrence actions and sockets, i think it's the new java. I can try to do a base socket system habbo-based in that. It's easy to compile, to run and scalable. Go is maded by google, so it will have a big future. Facebook, github, DOCKER(<3) use this language on their cores.

    So.. What do you think about that General? Do you think a Go server will be better than a java server? (It depends about you write it, but u know what am i asking.)

    PD: Good luck with arcturus, you are a nice programmer

  4. #4
    Yeah nah, nah yeah Liam is online now
    GammaRank
    Dec 2011 Join Date
    Down underLocation
    3,023Posts

    Re: What about a emulator in a language like Go?

    Give it a go, see what you can come up with. It's all talk until someone does something about it, any language has the potential to be the "best" emulator, it comes down to structure and the quality of the code.

  5. #5
    topkek amirite?? Leon is offline
    True MemberRank
    May 2009 Join Date
    918Posts

    Re: What about a emulator in a language like Go?

    I've messed quite a bit with Go and I bet you could implement an emulator pretty damn quickly. It's the sort of language that just lets you be so productive.

    This isn't Go but I was working on one in Swift (the networking is written in C), named Rapid. The source is available here: https://github.com/LeonHartley/rapid

  6. #6
    Member Amariconao is online now
    MemberRank
    Nov 2011 Join Date
    62Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by Leon View Post
    I've messed quite a bit with Go and I bet you could implement an emulator pretty damn quickly. It's the sort of language that just lets you be so productive.

    This isn't Go but I was working on one in Swift (the networking is written in C), named Rapid. The source is available here: https://github.com/LeonHartley/rapid
    First, thanks u for comment, Leon

    I think Go is a perfect language for things like this because it's concurrency, sockets and simply code is a nice candidate for a habbo server.

    I see examples in wich Go handles 1million requests per second (http), so... why not?


    (Nice work with comet )

  7. #7
    Retired maritnmine is offline
    True MemberRank
    May 2007 Join Date
    North KoreaLocation
    1,088Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by Amariconao View Post
    Go is maded by google, so it will have a big future. Facebook, github, DOCKER(<3) use this language on their cores.
    Can we stop with this "<big tech company> uses <some technology>, therefore it is superior and we should use it!" nonsense? Sure, Go has its use-cases but deciding to use it just "because Google use it" is pretty biased.

    Compared to Java, I think Go will probably be just as good if not even better than an emu in Java. On the other hand, if it is this community doing it, I think Java would be a better approach since it is a language the community is more familiar with.

  8. #8
    8-bit Bitch Slapper Alpha Ducky is offline
    Alpha MaleRank
    Mar 2007 Join Date
    In My HouseLocation
    2,631Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by maritnmine View Post
    On the other hand, if it is this community doing it, I think Java would be a better approach since it is a language the community is more familiar with.
    We would still be stuck in VB if we never tried anything new. Great example is Holo.
    All it takes is one server to change the way people do things.
    Who knows, doing one in Go could change this section forever :p

  9. #9
    Member Amariconao is online now
    MemberRank
    Nov 2011 Join Date
    62Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by maritnmine View Post
    Can we stop with this "<big tech company> uses <some technology>, therefore it is superior and we should use it!" nonsense? Sure, Go has its use-cases but deciding to use it just "because Google use it" is pretty biased.

    Compared to Java, I think Go will probably be just as good if not even better than an emu in Java. On the other hand, if it is this community doing it, I think Java would be a better approach since it is a language the community is more familiar with.
    You are absolutely right, that a certain company uses certain technology does not mean that this is the best or the worst. I wanted to put these examples because when speaking of Go is speak of a young language, which is associated with something that is not mature, not professional, so it is not given the same importance as languages ​​such as java, csharp and others , That's why I mentioned that very large companies have now changed things to go, which gives an impulse to start learning it. Thank you for your comment Martin, thank you.

    - - - Updated - - -

    Quote Originally Posted by Alpha Ducky View Post
    We would still be stuck in VB if we never tried anything new. Great example is Holo.
    All it takes is one server to change the way people do things.
    Who knows, doing one in Go could change this section forever :p

    In fact, I am testing certain things in Go to publish soon to see what acceptance has in the community. I am not an expert in go, but here there are people who know c ++ and can contribute things and give advice with the f*** the pointers x)

    Sorry my english, im spanish

  10. #10
    Wanheda Funsolit is offline
    True MemberRank
    Feb 2012 Join Date
    SwedenLocation
    261Posts

    Re: What about a emulator in a language like Go?

    Meeh, everything that needs to be said was already said by other people. My opinion though on this is that yes it is interesting for developers, but it's nothing that anyone besides developers will notice nor care about. If you can achieve the same thing with other languages that are widely used and can still compete in the business then people won't care. Unless someone drops an emu in some new language and somehow has a HTML5 client in there then that would probably be the only thing that people will really care about, not the language but the fact that it is a HTML5 Client lols.

    C:\rename

  11. #11
    Member Amariconao is online now
    MemberRank
    Nov 2011 Join Date
    62Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by Funsolit View Post
    Meeh, everything that needs to be said was already said by other people. My opinion though on this is that yes it is interesting for developers, but it's nothing that anyone besides developers will notice nor care about. If you can achieve the same thing with other languages that are widely used and can still compete in the business then people won't care. Unless someone drops an emu in some new language and somehow has a HTML5 client in there then that would probably be the only thing that people will really care about, not the language but the fact that it is a HTML5 Client lols.
    Isn't only for devs. What do you prefer, a house made with stone, or with clay? The languaje is important for all, if i use C# i know i need to install .NET FRAMEWORK and it's only for windows (Linux and Mono, i know.) If it's java i know i need to install jvm and it will use much memory, etc...

  12. #12
    Wanheda Funsolit is offline
    True MemberRank
    Feb 2012 Join Date
    SwedenLocation
    261Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by Amariconao View Post
    Isn't only for devs. What do you prefer, a house made with stone, or with clay? The languaje is important for all, if i use C# i know i need to install .NET FRAMEWORK and it's only for windows (Linux and Mono, i know.) If it's java i know i need to install jvm and it will use much memory, etc...
    If stone and clay is stable and production ready i don't care. You can create my house out of water, as long as it is standing and forms my house and is production ready i don't care. The point is the language doesn't affect the players, but the developers. You missed that didn't you? What does affect everyone is everyone having to enable flash in browsers to get in. This was the case for shockwave before too, until it got replaced by flash and whatever language developers chose to develope the emulator in just went along. The change is from Flash to HTML5, which language goes along that wouldn't really affect anyone or be noticeable by anyone but the developers. But i do agree that GO would be an exotic, interesting and good choice.

    C:\rename

  13. #13
    Member Amariconao is online now
    MemberRank
    Nov 2011 Join Date
    62Posts

    Re: What about a emulator in a language like Go?

    Good, i have worked on the Go emu and i reach few things, like:

    - ConsoleCommands
    - MySQL
    - Sockets
    - ClientMessage and ServerMessage working (Thanks Forex <3)

    For requests i have done a Queue-Routine system. I have done a Routine-based system who save all incoming messages in a list, and X number of routines get that messages queued and runs them. (Like a threadpool in java, but Routines aren't threads). It runs efficiently for the moment.

    Thanks Wesley for arcturus, i use the headers and packet structures on your server (I give credits on GhopeR for u). At the moment i can connect to the server and retrieve the user info by SSO.


    PD: If someone whants to see go-routines in action: https://tour.golang.org/concurrency/1

  14. #14
    Death from above! The General is offline
    The OmegaRank
    Aug 2011 Join Date
    8,816Posts

    Re: What about a emulator in a language like Go?

    If you want to learn, don't look at other emulators. Do everything yourself. Research all packet structures yourself from the Habbo scripts or if you cannot figure it out from there from packetlogging. I pretty much only used the habbo scripts.
    If you are using Arcturus, contact me
    Skype: wesley.jabbo
    Discord: TheGeneral#0063

  15. #15
    Member Amariconao is online now
    MemberRank
    Nov 2011 Join Date
    62Posts

    Re: What about a emulator in a language like Go?

    Quote Originally Posted by The General View Post
    If you want to learn, don't look at other emulators. Do everything yourself. Research all packet structures yourself from the Habbo scripts or if you cannot figure it out from there from packetlogging. I pretty much only used the habbo scripts.
    Yes bro, You are right, but i need to try if the clientmessage, servermessage and that things run correctly.


    I only look your server for program the ClientOK message header, the HomeRoom message, and the Standard Alert. Nothing more, no clientmessage class, no how your server catch request, database, etc...

    I know how habbo paquets are structured, i code this emu a looooooong time ago (don't laugth about how is it code ) Bobba Emulator - Basic programmed.

    I only want to see the potential of Go and practise the code. I think Go is sooooo beautifull...

    Thx for arcturus, as i say after i add you on credits command (When i do a $about command i add u here too).




Page 1 of 3 123 LastLast

Advertisement