Subroutines ^

examples/subs/bsr_ret.pasm
Branch to location.

examples/subs/coroutine.pasm
Sample co-routines in Parrot.

examples/subs/jsr_ret.pasm
Jumping to subroutine.

examples/subs/pasm_sub1.pasm
Parrot calling conventions.

examples/subs/sub1.imc
Subroutine Example.

examples/subs/sub2.imc
Subroutine Example.

examples/subs/sub3.imc
Subroutine Example.

IO ^

examples/io/echo_client.imc
Echo client.

examples/io/http.imc
HTTP client.

examples/io/httpd.imc
HTTP server.

examples/io/net_smtp.pasm
SMTP Example.

examples/io/pioctl.pasm
"pioctl" Examples.

Streams ^

examples/streams/Bytes.imc
examples/streams/Combiner.imc
examples/streams/Coroutine.imc
examples/streams/FileLines.imc
examples/streams/Filter.imc
examples/streams/Include.imc
examples/streams/Lines.imc
examples/streams/ParrotIO.imc
examples/streams/SubCounter.imc
examples/streams/SubHello.imc
examples/streams/Writer.imc

Benchmarking ^

examples/benchmarks/addit.imc
Variable Argument Subroutines.

examples/benchmarks/addit.pasm
Variable Argument Subroutines.

examples/benchmarks/addit.pl
Variable Argument Subroutines.

examples/benchmarks/addit2.imc
Variable Argument Subroutines.

examples/benchmarks/array_access.imc
Reading from array.

examples/benchmarks/arriter.imc
Iterator Benchmark.

examples/benchmarks/arriter.pl
Iterator Benchmark.

examples/benchmarks/arriter_o1.imc
Iterator Benchmark.

examples/benchmarks/bench_newp.pasm
PMC Creation.

examples/benchmarks/fib.imc
Fibonacci Benchmark.

examples/benchmarks/fib.pl
Fibonacci Benchmark.

examples/benchmarks/freeze.pasm
Freeze/Thaw Benchmarks.

examples/benchmarks/freeze.pl
Freeze/Thaw Benchmarks.

examples/benchmarks/gc_alloc_new.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_alloc_reuse.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_generations.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_header_new.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_header_reuse.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_waves_headers.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_waves_sizeable_data.pasm
GC/DOD Benchmark.

examples/benchmarks/gc_waves_sizeable_headers.pasm
GC/DOD Benchmark.

examples/benchmarks/mops.pasm
Calculate a benchmark for Integer PMCs.

examples/benchmarks/mops.pl
Calculate M ops/s.

examples/benchmarks/mops_intval.pasm
Calculate a benchmark.

examples/benchmarks/oon.txt

examples/benchmarks/primes.c
Calculate prime numbers < 50000.

examples/benchmarks/primes.pasm
Calculate prime numbers < 50000.

examples/benchmarks/primes.pl
Calculate prime numbers < 10000.

examples/benchmarks/primes2.c
Calculate prime numbers < 10000.

examples/benchmarks/primes2.pasm
Calculate prime numbers < 10000.

examples/benchmarks/primes2.py
Calculate prime numbers < 5000.

examples/benchmarks/primes2_i.pasm
Calculate prime numbers < 10000.

examples/benchmarks/primes_i.pasm
Calculate prime numbers < 50000.

examples/benchmarks/shared_ref.pasm
Shared reference between threads.

examples/benchmarks/shared_ref.pl
Shared reference between threads.

examples/benchmarks/stress.pasm
GC stress-testing.

examples/benchmarks/stress.pl
GC stress-testing.

examples/benchmarks/stress1.pasm
GC stress-testing.

examples/benchmarks/stress1.pl
GC stress-testing.

examples/benchmarks/stress2.pasm
Brief.

examples/benchmarks/stress2.pl
GC stress-testing.

examples/benchmarks/stress3.pasm
GC stress-testing.

Speed Comparison ^

examples/mops/README

examples/mops/mops.c
Calculate M ops/s.

examples/mops/mops.cs
Calculate M ops/s.

examples/mops/mops.p6
Calculate M ops/s.

examples/mops/mops.pl
Calculate M ops/s.

examples/mops/mops.py
Calculate M ops/s.

examples/mops/mops.rb
Calculate M ops/s.

Parrot Extensions ^

examples/pni/PQt.C
Qt/Parrot Library.

examples/pni/QtHelloWorld.pasm
Qt Example.

examples/pni/ls.pir
a directory lister.

examples/pni/win32api.imc
Win32 Example.


parrot