Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Habbo Emulator in golang
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="B10N1C" data-source="post: 411101" data-attributes="member: 55454"><p>I've code a golang srv, with some features like:</p><p>- ConsoleCommands.</p><p>- MySQL.</p><p>- Queue requests system with X go-routines for executing them.</p><p>- Client and Server Messages (obviously)</p><p>Contiue the dev bro, go is a nice language. I come from Java and i will state in Go all my life. I can login into the hotel now. ClientOK and userHome are sended and i see the Hotel View, so all is OK.</p><p></p><p><img src="http://i68.tinypic.com/2ijl21j.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>In this image surely the naming convention of the variables is not well made, however it is an old photo and I have changed many things. Now I follow this convention: /go/wiki/CodeReviewComments on the github</p><p></p><p>I don't know what do you want to say with "caching" (I'm spanish) but i think u say Lists, Maps and arrays/slices. You can search info at google.</p><p>When i started dev in go, i hate pointers too, but them let you a total controll of your code. If you dont need anything only nil the pointer and bye. It's a little strange, i know, but try it <img src="/styles/default/xenforo/smilies/emojione/wink.png" class="smilie" loading="lazy" alt=";)" title="Wink ;)" data-shortname=";)" />.</p><p></p><p>Pd: Welcome to our Gopher family! <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQMB80voCfe1cgQThM4mtcPt2hObXoG7_cWPxGcbQzn9yRsdfdu" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>PD2: Don't care if you see the permormance of Go sockets and Go routines. I will say it to you. Go is a monster, or better, Go is THE MONSTER.</p><p></p><p>PS3: Const "header" was remaded, i say, it's a old pic. I use Byte.Buffer for concat string</p><p>[doublepost=1496746062,1496745055][/doublepost]</p><p>Not really complex. For a Java base of an emulator i need to code a lot of things. For an Go emu base i need less code. The unique things will cause problems are the pointers and the circular dependences, but with a 3rd package it's fixed. Project structure? I think it's better for sort the files.</p><p>[doublepost=1496829608][/doublepost]<img src="http://i68.tinypic.com/i44v42.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="B10N1C, post: 411101, member: 55454"] I've code a golang srv, with some features like: - ConsoleCommands. - MySQL. - Queue requests system with X go-routines for executing them. - Client and Server Messages (obviously) Contiue the dev bro, go is a nice language. I come from Java and i will state in Go all my life. I can login into the hotel now. ClientOK and userHome are sended and i see the Hotel View, so all is OK. [IMG]http://i68.tinypic.com/2ijl21j.png[/IMG] In this image surely the naming convention of the variables is not well made, however it is an old photo and I have changed many things. Now I follow this convention: /go/wiki/CodeReviewComments on the github I don't know what do you want to say with "caching" (I'm spanish) but i think u say Lists, Maps and arrays/slices. You can search info at google. When i started dev in go, i hate pointers too, but them let you a total controll of your code. If you dont need anything only nil the pointer and bye. It's a little strange, i know, but try it ;). Pd: Welcome to our Gopher family! [IMG]https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQMB80voCfe1cgQThM4mtcPt2hObXoG7_cWPxGcbQzn9yRsdfdu[/IMG] PD2: Don't care if you see the permormance of Go sockets and Go routines. I will say it to you. Go is a monster, or better, Go is THE MONSTER. PS3: Const "header" was remaded, i say, it's a old pic. I use Byte.Buffer for concat string [doublepost=1496746062,1496745055][/doublepost] Not really complex. For a Java base of an emulator i need to code a lot of things. For an Go emu base i need less code. The unique things will cause problems are the pointers and the circular dependences, but with a 3rd package it's fixed. Project structure? I think it's better for sort the files. [doublepost=1496829608][/doublepost][IMG]http://i68.tinypic.com/i44v42.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Habbo Emulator in golang
Top