Re:Goircd: Minimalistic simple IRC server written on Go
by cobalt on Friday May 08, 2020 @01:15PM
(#23117080)
meh.. i wrote my first IRC bot when i was like 12. I don't think i'd get very far writing a DNS server as a 12 yr old
Re:Goircd: Minimalistic simple IRC server written on Go
by jsjohnst on Friday May 08, 2020 @04:33PM
(#23119104)
If you can write an IRC bot from scratch, you can do an authoritative DNS server, don’t sell yourself short.
Re:Goircd: Minimalistic simple IRC server written on Go
by d1str0 on Friday May 08, 2020 @08:37PM
(#23121091)
IRC is more immediate and self gratifying. Very important things for a self-taught 12 yo. Not that dns isnt cool, just probably not the best recommendation for a young programmer.
Re:Goircd: Minimalistic simple IRC server written on Go
by skrtskrt on Friday May 08, 2020 @04:14PM
(#23118942)
How would one start with learning those concepts first? I've been wanting a good way to learn networking that I can code along to in my preferred language
Re:Goircd: Minimalistic simple IRC server written on Go
by jsjohnst on Friday May 08, 2020 @04:35PM
(#23119144)
> I've been wanting a good way to learn networking
1) Do you learn best by reading books, following tutorials, or watching videos?
2) What programming language do you know best / second best?
Happy to dig up a couple sources for you if you limit the scope a bit via the two questions above.
Re:Goircd: Minimalistic simple IRC server written on Go
by skrtskrt on Friday May 08, 2020 @04:56PM
(#23119361)
I tend to combine books and tutorials... the more in-depth the better.
I know Python best but am very quickly getting just as comfortable with Go. Would probably want to do this work in Go
Also maybe Rust cuz I want to get around it someday? For Rust I would need more “here’s the literal code”. Python or Go I could probably do it just from pseudo code or high level descriptions
I personally use the project “writing an authoritative DNS server” as mine. Forces you to think about data structures, TCP and UDP, bit packing, file/DB handling, parsing, concurrency, serialization, etc. If you don’t know DNS really well, wouldn’t be as easy, but once you know it backwards and forwards it’s a really a great way to push a language your learning.