Tutorial.ponylang.org is a subdomain of ponylang.org, which was created on 2015-01-12,making it 9 years ago.
Discover tutorial.ponylang.org website stats, rating, details and status online.Use our online tools to find owner and admin contact info. Find out where is server located.Read and write reviews or vote to improve it ranking. Check alliedvsaxis duplicates with related css, domain relations, most used words, social networks references. Go to regular site
HomePage size: 37.717 KB |
Page Load Time: 0.09079 Seconds |
Website IP Address: 172.64.145.144 |
Middle Tennessee Pony Club middletennessee.ponyclub.org |
Pony ORM Releases blog.ponyorm.org |
Introduction to Digital History – A course page for HIST 209: Introduction to Digital History digitalhistory.pages.roanoke.edu |
Garden Grove Pony Baseball ggpb.hardballsystems.com |
What is Pony ORM? — Pony ORM documentation docs.ponyorm.com |
Okuku Pony Club - Home okukupc.webs.com |
Introduction: Greetings and introduction education.lenardaudio.com |
Harrison County PONY League hcpony.com.leag1.com |
Pony Vs Pony - Battle is Magic! ponyvspony.artix.com |
Introduction · An Introduction to Elm guide.elm-lang.org |
Introduction to Computer Science in C# — Introduction to Computer Science in C# 30 Nov 2021 document introcs.cs.luc.edu |
Pony Tutorial https://tutorial.ponylang.org/ |
Overview - Pony Tutorial https://tutorial.ponylang.org/capabilities |
Overview - Pony Tutorial https://tutorial.ponylang.org/getting-started/ |
Overview - Pony Tutorial https://tutorial.ponylang.org/generics/ |
Overview - Pony Tutorial https://tutorial.ponylang.org/types/ |
Overview - Pony Tutorial https://tutorial.ponylang.org/packages/ |
Overview https://tutorial.ponylang.org/appendices/ |
Overview https://tutorial.ponylang.org/gotchas/ |
Overview - Pony Tutorial https://tutorial.ponylang.org/expressions/ |
What You Need · Pony Tutorial https://tutorial.ponylang.org/getting-started/what-you-need.html |
Hello World: How It Works · Pony Tutorial https://tutorial.ponylang.org/getting-started/how-it-works.html |
Hello World: Your First Program · Pony Tutorial https://tutorial.ponylang.org/getting-started/hello-world.html |
Methods · Pony Tutorial https://tutorial.ponylang.org/expressions/methods.html |
Control Structures · Pony Tutorial https://tutorial.ponylang.org/expressions/control-structures.html |
Overview https://tutorial.ponylang.org/testing/ |
Date: Tue, 14 May 2024 03:32:33 GMT |
Content-Type: text/html |
Content-Length: 44742 |
Connection: keep-alive |
Cache-Control: public, max-age=86400 |
Set-Cookie: gitbook:archive=eyJhbm9ueW1vdXNJZCI6ImJlOGQ0ZjA3LWY3MzUtNGFjYS04YjA4LTgyOTliZjgzOGQ2MSJ9; Secure; HttpOnly; Path=/ |
Cache-Tag: ponylang/pony-tutorial |
X-Current-Location: / |
X-Frame-Options: ALLOWALL |
Vary: Accept-Encoding |
Server: cloudflare |
CF-RAY: 8837d2584d300cb3-LAX |
charset="utf-8"/ |
content="text/html; charset=utf-8" http-equiv="Content-Type"/ |
content="IE=edge" http-equiv="X-UA-Compatible"/ |
content="" name="description"/ |
content="GitBook 3.2.3" name="generator"/ |
content="Ponylang" name="author"/ |
content="true" name="HandheldFriendly"/ |
content="width=device-width, initial-scale=1, user-scalable=no" name="viewport"/ |
content="yes" name="apple-mobile-web-app-capable"/ |
content="black" name="apple-mobile-web-app-status-bar-style"/ |
Pony Tutorial Introduction Chapter 1: Getting Started with Pony What You Need Hello World: Your First Program Hello World: How It Works Chapter 2: Types The Pony Type System at a Glance Classes Primitives Actors Traits and Interfaces Type Aliases Type Expressions Chapter 3: Expressions Literals Variables Infix Operators Control Structures Methods Exceptions Equality Sugar Object Literals Partial Application Chapter 4: Capabilities Object Capabilities Reference Capabilities Guarantees Consume and Destructive Read Recovering Capabilities Aliasing Combining Capabilities Passing and Sharing Capability Subtyping Arrow Types Trust Boundary Chapter 5: Generics Reference Capabilities Constraints Chapter 6: Pattern Matching Match Expressions As Operator Chapter 7: Packages Package System Use Statement Standard Library Chapter 8: Testing PonyTest Chapter 9: C FFI Calling C from Pony Linking to C Libraries C ABI Callbacks Chapter 10: Gotchas! Divide by Zero Garbage Collection Scheduling Side-effect ordering in function call expressions Recursion Chapter 11: Where Next? Appendices Lexicon Symbol Lookup Cheatsheet Keywords Examples Pony & Whitespace Compiler Arguments Memory Allocation at Runtime Garbage Collection with Pony-ORCA Platform dependent code A short guide to Pony error messages Program Annotations Serialisation Powered by GitBook Introduction Pony Tutorial Welcome to the Pony tutorial! If you’re reading this, chances are you want to learn Pony. That’s great, we’re going to make that happen. This tutorial is aimed at people who have some experience programming already. It doesn’t really matter if you know a little Python, or a bit of Ruby, or you are a JavaScript hacker, or Java, or Scala, or C/C++, or Haskell, or OCaml: as long as you’ve written some code before, you should be fine. What’s Pony, anyway? Pony is an object-oriented, actor-model, capabilities-secure programming language. It’s object-oriented because it has classes and objects, like Python, Java, C++, and many other languages. It’s actor-model because it has actors (similar to Erlang or Akka). These behave like objects, but they can also execute code asynchronously . Actors make Pony awesome. When we say Pony is capabilities-secure , we mean a few things: It’s type safe. Really type safe. There’s a mathematical proof and everything. It’s memory safe. Ok, this comes with type safe, but it’s still interesting. There are no dangling pointers, no buffer overruns, heck, the language doesn’t even have the concept of null ! It’s exception safe. There are no runtime exceptions. All exceptions have defined semantics, and they are always handled. It’s data-race free. Pony doesn’t have locks or atomic operations or anything like that. Instead, the type system ensures at compile time that your concurrent program can never have data races. So you can write highly concurrent code and never get it wrong. It’s deadlock free. This one is easy, because Pony has no locks at all! So they definitely don’t deadlock, because they don’t exist. We’ll talk more about capabilities-security, including both object capabilities and reference capabilities later. The Pony Philosophy: Get Stuff Done In the spirit of Richard Gabriel , the Pony philosophy is neither "the-right-thing" nor "worse-is-better". It is "get-stuff-done". Correctness. Incorrectness is simply not allowed. It’s pointless to try to get stuff done if you can’t guarantee the result is correct. Performance. Runtime speed is more important than everything except correctness. If performance must be sacrificed for correctness, try to come up with a new way to do things. The faster the program can get stuff done, the better. This is more important than anything except a correct result. Simplicity. Simplicity can be sacrificed for performance. It is more important for the interface to be simple than the implementation. The faster the programmer can get stuff done, the better. It’s ok to make things a bit harder on the programmer to improve performance, but it’s more important to make things easier on the programmer than it is to make things easier on the language/runtime. Consistency. Consistency can be sacrificed for simplicity or performance. Don’t let excessive consistency get in the way of getting stuff done. Completeness. It’s nice to cover as many things as possible, but completeness can be sacrificed for anything else. It’s better to get some stuff done now than wait until everything can get done later. The "get-stuff-done" approach has the same attitude towards correctness and simplicity as "the-right-thing", but the same attitude towards consistency and completeness as "worse-is-better". It also adds performance as a new principle, treating it as the second most important thing (after correctness). Guiding Principles Throughout the design and development of the language the following principles should be adhered to. Use the get-stuff-done approach. Simple grammar. Language must be trivial to parse for both humans and computers. No loadable code. Everything is known to the compiler. Fully type safe. There is no "trust me, I know what I’m doing" coercion. Fully memory safe. There is no "this random number is really a pointer, honest." No crashes. A program that compiles should never crash (although it may hang or do something unintended). Sensible error messages. Where possible use simple error messages for specific error cases. It is fine to assume the programmer knows the definitions of words in our lexicon, but avoid compiler or other computer science jargon. Inherent build system. No separate applications required to configure or build. Aim to reduce common programming bugs through the use of restrictive syntax. Provide a single, clean and clear way to do things rather than catering to every programmer’s preferred prejudices. Make upgrades clean. Do not try to merge new features with the ones they are replacing, if something is broken remove it and replace it in one go. Where possible provide rewrite utilities to upgrade source between language versions. Reasonable build time. Keeping down build time is important, but less important than runtime performance and correctness. Allowing the programmer to omit some things from the code (default arguments, type inference, etc) is fine, but fully specifying should always be allowed. No ambiguity. The programmer should never have to guess what the compiler will do, or vice-versa. Document required complexity. Not all language features have to be trivial to understand, but complex features must have full explanations in the docs to be allowed in the language. Language features should be minimally intrusive when not used. Fully defined semantics. The semantics of all language features must be available in the standard language docs. It is not acceptable to leave behaviour undefined or "implementation dependent". Efficient hardware access must be available, but this does not have to pervade the whole language. The standard library should be implemented in Pony. Interoperability. Must be interoperable with other languages, but this may require a shim layer if non primitive types are used. Avoid library pain. Use of 3rd party Pony libraries should be as easy as possible, with no surprises. This includes writing and distributing libraries and using multiple versions of a library in a single program. More help Working your way through the tutorial but in need of more help? Not to worry, we have you covered. If you are looking for an answer "right now", we suggest you give our IRC channel a try. It’s #ponylang on Freenode. If you ask a question, be sure to hang around until you get an answer. If you don’t get one, or IRC isn’t your thing, we have a friendly mailing list you can try. Whatever your question is, it isn’t dumb, and we won’t get annoyed. Think you’ve found a bug? Check your understanding first by writing the mailing list. Once you know it’s a bug, open an issue . Help us Found a typo in this...
Domain Name: ponylang.org Registry Domain ID: 9e3bbd3b56694799a72384c2e3a8e721-LROR Registrar WHOIS Server: http://whois.antagus.de Registrar URL: http://www.vautron.de Updated Date: 2024-02-26T11:02:50Z Creation Date: 2015-01-12T11:02:04Z Registry Expiry Date: 2025-01-12T11:02:04Z Registrar: Vautron Rechenzentrum AG Registrar IANA ID: 1443 Registrar Abuse Contact Email: abuse@vautron.de Registrar Abuse Contact Phone: +49.9415990570 Domain Status: ok https://icann.org/epp#ok Registrant Organization: Digital Frontier GmbH Registrant State/Province: DE Registrant Country: DE Name Server: ns1.first-ns.de Name Server: robotns2.second-ns.de Name Server: robotns3.second-ns.com DNSSEC: unsigned >>> Last update of WHOIS database: 2024-05-17T19:03:38Z <<<