书栈网 · BookStack 本次搜索耗时 0.010 秒,为您找到 179 个相关结果.
  • What You Need

    588 2020-09-03 《PonyLang Tutorial》
    The Pony compiler A text editor The compiler Compiling your program To get started, you’ll need a text editor and the ponyc compiler. Or if you are on a not supported platfor...
  • Handling disruptions

    Handling disruptions Handling disruptions On db.bind(...) Pony opens connection to the database and then store it in a thread-local connection pool. When application code ente...
  • Overview

    885 2020-09-03 《PonyLang Tutorial》
    Pony supports integration with other native languages through the Foreign Function Interface (FFI). The FFI library provides a stable and portable API and high-level programming i...
  • Structs

    436 2020-09-03 《PonyLang Tutorial》
    Structs are “classes for FFI” What goes in a struct? Fields Constructors Functions We’ll see structs again A struct is similiar to a class . There’s a couple very important...
  • Divide by Zero

    760 2020-09-03 《PonyLang Tutorial》
    Divide by zero in Pony Divide by zero on floating points What’s 1 divided by 0? How about 10 divided by 0? What is the result you get in your favorite programming language? In ...
  • Program Annotations

    440 2020-09-03 《PonyLang Tutorial》
    What can be annotated The effect of annotations Annotations in the Pony compiler packed likely and unlikely In Pony, we provide a special syntax for implementation-specifi...
  • Optimistic concurrency control

    Optimistic concurrency control Optimistic concurrency control By default Pony uses the optimistic concurrency control concept for increasing performance. With this concept, Pony...
  • Overview

    520 2020-09-03 《PonyLang Tutorial》
    We’ve covered the basics of Pony’s type system and then expressions, this chapter about reference capabilities will cover another feature of Pony’s type system. There aren’t curre...
  • Automatic DISTINCT

    Automatic DISTINCT Automatic DISTINCT Pony tries to avoid duplicates in a query result by automatically adding the DISTINCT SQL keyword where it is necessary, because useful qu...
  • Saving objects in the database

    Saving objects in the database Order of saving objects Cyclic chains during saving objects Saving objects in the database Normally you don’t need to bother of saving your enti...