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/multi_retvals.pir
Subroutine example.

examples/subs/no_retval.pir
Subroutine example.

examples/subs/pasm_sub1.pasm
Parrot calling conventions.

examples/subs/single_retval.pir
Subroutine example.

IO ^

examples/io/echo_client.pir
Echo client.

examples/io/http.pir
HTTP client.

examples/io/httpd.pir
HTTP server.

examples/io/net_smtp.pasm
SMTP Example.

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

Streams ^

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

Benchmarking ^

examples/benchmarks/addit.pasm
Variable Argument Subroutines.

examples/benchmarks/addit.pir
Variable Argument Subroutines.

examples/benchmarks/addit.pl
Variable Argument Subroutines.

examples/benchmarks/addit2.pir
Variable Argument Subroutines.

examples/benchmarks/array_access.pir
Reading from array.

examples/benchmarks/arriter.pir
Iterator Benchmark.

examples/benchmarks/arriter.pl
Iterator Benchmark.

examples/benchmarks/arriter_o1.pir
Iterator Benchmark.

examples/benchmarks/bench_newp.pasm
PMC Creation.

examples/benchmarks/fib.pir
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/nci/PQt.C
Qt/Parrot Library.

examples/nci/QtHelloWorld.pasm
Qt Example.

examples/nci/ls.pir
a directory lister.

examples/nci/win32api.pir
Win32 Example.


parrot