Writing a Minecraft server from scratch in Bash (2022)
1–10 of 56 posts
Re: Writing a Minecraft server from scratch in Bash (2022)
#2Discussion at the time https://news.ycombinator.com/item?id=30347501 92 comments
Re: Writing a Minecraft server from scratch in Bash (2022)
#3Now this is a proper hacker site. This is great.
Re: Writing a Minecraft server from scratch in Bash (2022)
#4As someone who's done a lot of work with scriptable Minecraft servers for both Java and Bedrock (ScraM), this is impressive. Bonus points for using "duckduckgoing" in a sentence.
Re: Writing a Minecraft server from scratch in Bash (2022)
#5Now this is a proper hacker site. This is great.
[flagged]
Re: Writing a Minecraft server from scratch in Bash (2022)
#6Re: Writing a Minecraft server from scratch in Bash (2022)
#7Just wondering, but is writing custom servers for commercial games still a thing?
Re: Writing a Minecraft server from scratch in Bash (2022)
#8A negative power, i.e. 2^(-n) is just 1/(2^n). I'm surprised the author didn't remember that with their own 2^-1 = 0.5 example and eventually reached out to awk for it.
Re: Writing a Minecraft server from scratch in Bash (2022)
#9Re: Writing a Minecraft server from scratch in Bash (2022)
#10They should have used my (dumb?) library, ctypes.sh:
https://github.com/taviso/ctypes.sh
Then they can access libm, poll(), select() and so on from bash :)