Skip to content

Instantly share code, notes, and snippets.

Legion 0.3

After months in development, legion 0.3 has finally been released to crates.io. This is a huge release amounting to a near total rewrite of the library.

Legion is Rust's fastest and most powerful ECS library. The new 0.3 release includes many performance and usability improvements and is a major step towards a stable 1.0 release.

simple_iter ecs_bench_suite result

Hello World

// private module state
struct Context {
device: GraphicDevice,
}
// public module state
pub struct Textures {
}

Keybase proof

I hereby claim:

  • I am TomGillen on github.
  • I am ayfid (https://keybase.io/ayfid) on keybase.
  • I have a public key whose fingerprint is 7044 06E3 B8CD 96AA 1D12 4EE3 1E8B 5E66 AD1F 16FA

To claim this, I am signing this object:

&".\build.ps1" -Target DraftRelease -ScriptArgs '--token="[access_token_goes_here]"'
using System;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace nbodies
{
class NBody
{
@TomGillen
TomGillen / publish-release.cmd
Created February 24, 2017 04:19
GoldenHammer github release script
:: This file is included in .gitignore and should not be committed to source control
build.cmd PublishGithubRelease --envvar token YOUR_GITHUB_ACCESS_TOKEN
@TomGillen
TomGillen / prepare-release.cmd
Created February 24, 2017 04:17
GoldenHammer draft release notes scripts
:: This file is included in .gitignore and should not be committed to source control
build.cmd DraftRelease --envvar token YOUR_GITHUB_ACCESS_TOKEN
void validateCommit(string repositoryPath, string module, string branch, string oldCommit, string newCommit) {
  Git repo = new Git(repositoryPath);
  Iterable<RevCommit> log = git.log().addRange(oldCommit, newCommit).call();
  
  for (RevCommit commit : log) {
     // CommitValidator.validate contains refactored commit validation logic from ValidateCommit.java
     CommitValidator.validate(
       module, 
 branch,
Install-WindowsUpdate
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableListDesktopAppsFirst
Enable-RemoteDesktop
cinst chocolatey
cinst DotNet4.5
cinst DotNet3.5
cinst javaruntime