Skip to content

Instantly share code, notes, and snippets.

View bbatha's full-sized avatar
🏠
Working from home

Ben Batha bbatha

🏠
Working from home
View GitHub Profile
@bbatha
bbatha / gist:9df1fcc1fa0a72a9f57d
Created April 13, 2015 18:05
Arc::new() lifetime error
fn it_works() {
let guards: Vec<thread::JoinGuard<()>> = Vec::with_capacity(3);
{
let mut pool = ScopedThreadPool::new(2);
for _ in (0..3) {
guards.push(pool.execute(move || {
thread::sleep_ms(1000);
println!("Things are happening!");
}));
# change foo to your library name
# change Foo::Database to your Sequel database
namespace :bundler do
task :setup do
require 'rubygems'
require 'bundler/setup'
end
end
@bbatha
bbatha / JavaGSOC11Proposal.txt
Created March 28, 2011 02:30
Java on Parrot GSOC11 Proposal
Ben Batha
Email: bbatha@u.rochester.edu
Google ID: applied under: elektronjunge
prefered contact: bhbatha
Other contact info: bbatha on irc.parrot.org #parrot
Your Project's Title: Java on Parrot
Abstract
@bbatha
bbatha / JVMtoParrot.txt
Created March 28, 2011 01:25
Java Byte Code to Parrot Byte code Proposal for GSoC 2011
Ben Batha
Email: bbatha@u.rochester.edu
Google ID: applied under: elektronjunge
prefered contact: bhbatha
Other contact info: bbatha on irc.parrot.org #parrot
Your Project's Title: Java Byte Code to Parrot
Abstract
The focus of this project is to build a translator from Java Byte Code to Parrot friendly targets (PIR).