Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
PrinceCEE u/PrinceCEE avatar

PrinceCEE

u/PrinceCEE

New
Open sort options
Change post view

r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

NodeJs dev transitioning to Go

PrinceCEE
replied to Martelskiy

I understood you 😉

The issue with this is that I'd have lots of interfaces scattered everywhere which can be centralised. I think it'll be best if there's a common folder where all interfaces are defined, hence reducing the size of the codebase.



r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

WebRTC in Go vs in NodeJs

PrinceCEE
replied to lulzmachine

ohhh, from this angle, i think i will stick to go for the implementation.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

WebRTC in Go vs in NodeJs

PrinceCEE
replied to RazorSh4rk

yeah, will do this. thanks.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

WebRTC in Go vs in NodeJs

yeah sure, you can build event loop server in go, but at the expense of doing more work. i get that go is better than nodejs but not in all cases where event loop helps. unless there's an implementation/package that makes event loop in go easy to use as it is in nodejs, nodejs should be used in that regard.



r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

WebRTC in Go vs in NodeJs

PrinceCEE
replied to zer00eyz

thanks for this. it's a lot detailed. will check it out.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

WebRTC in Go vs in NodeJs

PrinceCEE
replied to inkognitro90

NodeJs being single threaded, the event loop is the advantage. I am looking at the ease here. Some NodeJs servers can be scaled to handle lots of traffic.


WebRTC in Go vs in NodeJs
r/golang icon
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
WebRTC in Go vs in NodeJs

Hey guys, I am a bit conflicted on what I should use to implement a WebRTC server (assuming I want to build something like Google Meet/Zoom)

NodeJs is a strong opinion for me, given that it's meant for I/O intensive workloads, but Go is also a strong opponent given the lightweight nature of goroutines.

Any opinion on which one to use out of the 2, and why ?


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

NodeJs dev transitioning to Go

PrinceCEE
replied to ketam4x

Ohh, yeah. Gin handles that automatically actually.



r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

NodeJs dev transitioning to Go

PrinceCEE
replied to kynrai

Yeah, I actually prefer go-chi as it's very minimalist. I used gin here just for the purpose of learning it.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

NodeJs dev transitioning to Go

PrinceCEE
replied to Binary-Guy

Thank you for the input. I'd put that in place.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

NodeJs dev transitioning to Go

I have about 4 yoe using NodeJs. My plan is to get a job as a Go dev, as my current place of work only uses NodeJs.


NodeJs dev transitioning to Go
r/golang icon
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
NodeJs dev transitioning to Go

Hey guys, I am a NodeJs developer who is transitioning to Go. This community has helped me immensely in the journey.

https://github.com/PrinceCEE/go_chat I did this recently and would really appreciate any input especially on the things I need to improve upon, whether I am ready to take on Go Jobs.

PS: I am also on the lookout for Go jobs.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

Leave no gorutine behind

PrinceCEE
commented

Maybe, you should read Concurrency in Go by Cox Budday(if I get the name correctly). It'd show you how to also do it using channels.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

[deleted by user]

PrinceCEE
commented

I was just asking, because that paragraph was quite ambiguous.


r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

[deleted by user]

PrinceCEE
replied to ar3s3ru

Are you implying that Go isn't well suited for async services ?


r/NftGiveawayOnly icon
A banner for the subreddit

NEW NFT 🌎 Welcome, This page is ONLY for promoting your NFT art and GIVEAWAYS. Scammers will get blocked and reported ✅


Members Online
r/NftGiveawayOnly
A banner for the subreddit

NEW NFT 🌎 Welcome, This page is ONLY for promoting your NFT art and GIVEAWAYS. Scammers will get blocked and reported ✅


Members Online

5 eth ($ 20000) giveaways for the first 600 people to join the Shiba discord. The link is in the comment section below. Remember to upvote and drop your wallet

PrinceCEE
commented

0x58ea63ADA19572aD533d753Ff0a9A533796C6B75


PrinceCEE u/PrinceCEE avatar