Skip to content

A simple molecular dynamics Lennard Jones code written in golang

Notifications You must be signed in to change notification settings

compsciencelab/gomd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gomd

This is a test to write a scientific compute-intensive code using golang. Normally these codes are written in C/C++ but it would be nice to have some more modern alternative for rapid coding, yet mantaining the capabilities to decide data types for performance.

So far on the positive side

  1. Nice, clean, short syntax C-like
  2. It is a typed language but it hides it reasonably well
  3. Good compromise between readibility and coding restrictions
  4. I like the auto indenting
  5. I like the simple executable output for portability and distribution

On the negative side

  1. There is nothing like numpy, scipy
  2. There will never be until the language allows for operator overloading
  3. It is as bad as not having even Sqrt for floats and two cast operations have to be used on top of the normal 64 bit version

In my opinion it could become the defacto standard for compute-intensive scientific computations if just function overloading and generic functions were introduced, but until then it is severely limited.

About

A simple molecular dynamics Lennard Jones code written in golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published