书栈网 · BookStack 本次搜索耗时 0.008 秒,为您找到 179 个相关结果.
  • Compiler Arguments

    360 2020-09-03 《PonyLang Tutorial》
    Runtime options for Pony programs ponyc , the compiler, is usually called in the project directory, where it finds the .pony files and its dependencies automatically. There it w...
  • Actors

    513 2020-09-03 《PonyLang Tutorial》
    Behaviours Message Passing Concurrent Sequential Why is this safe? Actors are cheap Actor finalisers An actor is similar to a class , but with one critical difference: an ...
  • Declaring Entities

    Declaring Entities Declaring Entities Entities are Python classes which store an object’s state in the database. Each instance of an entity corresponds to a row in the database ...
  • Overview

    388 2020-09-03 《PonyLang Tutorial》
    Pony’s type system is what makes it special. There’s plenty to love about it otherwise but, in the end, it’s the type system that contains much of what makes Pony novel. In this c...
  • Trust Boundary

    560 2020-09-03 《PonyLang Tutorial》
    Trust boundaries Safe packages We mentioned previously that the C FFI can be used to break pretty much every guarantee that Pony makes. This is because, once you’ve called into ...
  • Overview

    523 2020-09-03 《PonyLang Tutorial》
    This chapter will get you up and running with Pony from installing the compiler to running your first program. As you work your way through this tutorial, you’ll likely come acro...
  • Overview

    504 2020-09-03 《PonyLang Tutorial》
    Every programming language has gotchas. Those “wat” moments that make us all laugh when someone does a presentation on them. They often shoot to the top of sites like Hacker News ...
  • Declaring a JSON attribute

    Declaring a JSON attribute Declaring a JSON attribute For declaring a JSON attribute with Pony you should use the Json type. This type can imported from pony.orm package: fro...
  • Working with multiple databases

    Working with multiple databases Working with multiple databases Pony can work with several databases simultaneously. In the example below we use PostgreSQL for storing user info...
  • Sugar

    399 2020-09-03 《PonyLang Tutorial》
    Apply Create Combined create-apply Update Pony allows you to omit certain small details from your code and will put them back in for you. This is done to help make your code l...