Skip to content

sfcompute/golang-maelstrom-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter repo for doing the Maelstrom challenges in golang.

Getting Started

Install maelstrom's dependencies.

On Mac:

brew install openjdk graphviz gnuplot

On Ubuntu/Debian:

apt install openjdk-17-jdk graphviz gnuplot

Install Maelstrom:

./install_maelstrom.sh

To run your solution, build:

go build

and then run the binary with the maelstrom client:

./maelstrom/maelstrom test -w echo --bin maelstrom-server --node-count 1 --time-limit 10 --log-stderr

The -w flag specifies the workload to use. The starter code is an implementation of the echo workload, for others you will need to set this flag accordingly.

Helpful Links

You can find docs for the maelstrom client here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published