Coder Social home page Coder Social logo

dstreet / multithreadingingo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cutajarj/multithreadingingo

0.0 2.0 0.0 18.34 MB

Multi-threading examples, including a boids simulation in Go Lang

Home Page: https://www.udemy.com/course/multithreading-in-go-lang/?referralCode=D20A3CBD00E90DB2ABF8

License: MIT License

Go 100.00%

multithreadingingo's Introduction

Multithreading In Go

Multi-threading examples, including a boids simulation in Go Lang

The udemy course for this repo can be found at: https://www.udemy.com/course/multithreading-in-go-lang/?referralCode=D20A3CBD00E90DB2ABF8

This source code has examples of creating threads and inter process communication (IPC) via memory sharing and message passing (such as channels). It also has examples of thread synchronization, such as mutexes, wait groups and conditional variables.

This project uses Ebiten, A dead simple 2D game library in Go for the boids examples. https://github.com/hajimehoshi/ebiten
Found the library is very easy to install and use. Check out some of the games bundled with the lib.
The installation instructions for ebiten can be found here (choose your OS): https://ebiten.org/documents/install.html

To run any of the code examples/scenarios do the following:

cd <goprojects>/multithreadingingo
go build ./...
go run ./<example>

such as:

go run ./boids

Please do get in touch if you have any suggestions/improvements!

Follow me on https://twitter.com/cutajarj

And checkout my blog at: www.cutajarjames.com

This is an owl in a tree and has nothing to do with this project, but I think it's pretty cool:

   ...    *    .   _  .   
*  .  *     .   * (_)   *
  .      |*  ..   *   ..
   .  * \|  *  ___  . . *
*   \/   |/ \/{o,o}     .
  _\_\   |  / /)  )* _/_ *
      \ \| /,--"-"---  ..
_-----`  |(,__,__/__/_ .
       \ ||      ..
        ||| .            *
        |||
ejm98   |||
  , -=-~' .-^- _

multithreadingingo's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.