高血压吃什么盐| 猪肝吃多了有什么坏处| 舌吻是什么意思| 眉目的比喻义是什么| 麂皮绒是什么材质| 612是什么星座| 4月11号是什么星座| 脑梗死是什么意思| 孔雀蓝配什么颜色好看| 黄茶适合什么人喝| 刘备和刘邦什么关系| 二聚体测定是什么| 黑龙江有什么特产| 意图是什么意思| 港币长什么样| 锑对人体有什么危害| 吃紫甘蓝有什么好处| 温州什么最出名| 看男性性功能挂什么科| 毛主席什么时候死的| 疙瘩疤痕有什么方法可以去除| 北漂是什么意思| 补肝血吃什么食物最好| 肚子胀气吃什么食物好| 肌红蛋白偏低什么原因| 乏是什么单位| 夕阳无限好只是近黄昏是什么意思| m表示什么| 老子和孔子是什么关系| 出马仙是什么意思| 青蛙靠什么呼吸| 为什么会得干眼症| 头晕在医院挂什么科| 囟门凹陷是什么原因| 包臀裙配什么上衣| 眼球内容物包括什么| 月柱代表什么| 囊肿有什么症状| 什么是巨细胞病毒| 站街女是什么意思| 三叉神经痛挂什么科就诊| 喝茶心慌的人什么体质| 月加一笔是什么字| 龙胆泻肝丸治什么病| 胆碱能性荨麻疹吃什么药| 22年属什么生肖| m标志是什么牌子衣服| 家里为什么会有隐翅虫| 直肠ca代表什么病| rag是什么| 山东古代叫什么| 内蒙古代叫什么| 戌是什么生肖| 武则天为什么立无字碑| 大腿痛挂什么科| 尿液黄绿色是什么原因| 溥仪什么时候去世的| 梦到死人是什么预兆| 孕妇吃核桃对胎儿有什么好处| 怀孕吃什么水果好对胎儿好| 00年属什么生肖| 什么人容易高原反应| 凝血常规是查什么的| 沉甸甸的爱是什么意思| 开塞露用多了有什么副作用| 最大的狗是什么品种| 覆盆子有什么作用| 为什么晚上睡不着| o是什么元素| 荨麻疹能吃什么食物| 肺炎吃什么水果| 什么水果去火效果最好| 小孩子注意力不集中看什么科| 大快朵颐是什么意思| 血崩是什么症状| 牛肉不能和什么水果一起吃| 什么叫阳痿| 漂头发是什么意思| b-h是什么药| 菡什么意思| 芝兰是什么意思| 景字属于五行属什么| 66大寿有什么讲究| 宝宝腹泻吃什么药| hp-是什么意思| 乳房头疼是什么原因| 钠低吃什么| 头发斑秃是什么原因引起的| 怀孕一个月肚子有什么变化| 不可开交是什么意思| 小孩睡觉磨牙是什么原因| 颜艺是什么意思| 国帑是什么意思| 白月光是什么意思| 女金片的功效与作用是什么| 生水是什么意思| 不结婚的叫什么族| 四个口是什么字| 手淫多了有什么坏处| 中医把脉能看出什么病| 孕期应该吃什么| 令是什么生肖| 才子男装什么档次| 怀孕为什么会肚子痛| 扁桃体发炎有什么症状| 月经前一周失眠是什么原因| 逆光是什么意思| 小儿磨牙是什么原因引起的| pt是什么单位| 什么是马甲线| 尿潴留吃什么药| 容易上火是什么原因| 什么心什么意| 老是流眼泪是什么原因| 胃癌手术后吃什么补品| 古灵精怪什么意思| 牙囊肿是什么病严重吗| 心机重的人弱点是什么| 手抖是什么原因| 咽喉干燥是什么原因| 连续做噩梦是什么原因| 11月份是什么星座的| siri是什么意思| 吃什么可以降血压| 体细胞是什么意思| 黄铜刮痧板有什么好处| 西瓜虫吃什么食物| 肝气不足吃什么中成药| 命名是什么意思| 热射病是什么原因引起的| 血管紧张素是什么意思| 精卫填海是什么意思| 什么是手性碳原子| 晚饭吃什么减肥| 孕检挂什么科| 贫血有什么危害| 杀了神经的牙为什么还疼| 二尖瓣轻度反流是什么意思| 蓝矾对人有什么危害| 骰子是什么意思| 吃榴莲有什么好处| 心率偏高是什么原因| 尿素氮肌酐比值偏高是什么原因| 作梁是什么意思| 荷叶茶有什么功效| 猪血不能和什么一起吃| 湘字五行属什么的| 眼睛oct检查主要检查什么| 辣椒是什么生肖| 东莞有什么好玩的| 老面是什么面| 四什么八什么的成语| 甲功不正常有什么表现| 隔的右边念什么| 青稞面是什么| 炖羊肉放什么调料| 什么属相不能摆放大象| 前庭是什么意思| 为什么不建议治疗幽门螺杆菌| 减肥什么时候喝牛奶| dcr是什么| 什么的草坪| 1978年是什么年| 夏天为什么要吃姜| 等离子体是什么| 莱昂纳多为什么叫小李子| 吃芒果后不能吃什么| 脸黑的人适合穿什么颜色的衣服| 排便困难用什么药| 刘邦和刘备是什么关系| 时间的定义是什么| 过敏性咽炎吃什么药| 1951属什么生肖| 福生无量是什么意思| 天启是什么意思| 大便不调是什么意思| 男性生殖器官叫什么| 气管炎吃什么药最有效| 得不到的永远在骚动什么意思| 什么先什么后| 7月30日是什么日子| 阁是什么意思| 感觉有痰咳不出来是什么原因| 川芎的功效与作用是什么| 为什么英文怎么写| 黎明是什么时间| 懵的意思是什么| tomboy是什么意思| 眼拙是什么意思| 三八送什么花| 头发不长是什么原因| 什么是头寸| 子宫息肉有什么症状| 血清铁蛋白高是什么原因| 吐槽是什么意思啊| 侃侃而谈什么意思| 医保定点是什么意思| 外阴白斑是什么症状| 什么的愿望| 什么酒不能喝脑筋急转弯| 梦见吃梨是什么意思| 负重是什么意思| 望穿秋水的意思是什么| 检查膝盖挂什么科| 腿发软无力是什么原因引起的| 黄体期什么意思| 张一山和杨紫是什么关系| 断裂是什么意思| 晚上血压高是什么原因| 处理器是什么意思| 金球奖什么时候颁发| 儿童看小鸡挂什么科| 灵魂伴侣是指什么意思| 失去抚养权意味着什么| 回声结节什么意思| 泉州和晋江什么关系| 玻尿酸有什么作用| 关帝庙求什么最灵| 什么人不能吃火龙果| 布洛芬什么时候起效| 什么是尖锐湿疣| 阴历六月十九是什么日子| 什么是肺部腺性肿瘤| 最聪明的动物是什么| 为什么会痛经| 严重脱发是什么原因| 清末民初是什么时候| 机智如你是什么意思| 穿斐乐的都是什么人| 九出十三归指什么生肖| 榴莲和什么相克| 减肥可以吃什么肉| 广东省省长什么级别| 神经衰弱吃什么好| 身体缺钾是什么症状| 健将是什么意思| 惧内什么意思| 沉香是什么| 古怪是什么意思| 农历六月初四是什么日子| 怀孕血压高对胎儿有什么影响| 血脂高是什么| 什么车子寸步难行脑筋急转弯| 男才女貌是什么意思| 什么花在什么时间开| 中国人的祖先是什么人| 羊癫疯是什么引起的| 大便想拉又拉不出来是什么原因| 天道好轮回什么意思| 鱼露是什么东西| 什么是蝴蝶效应| 尿胆红素阳性是什么意思| 静脉曲张什么症状| 甲状腺不均质改变是什么意思| 导语是什么| 陈赫的老婆叫什么名字| 9月出生的是什么星座| 女性长期缺维d会带来什么病| 喝酒对胃有什么伤害| 结节是什么意思| 机缘是什么意思| 纤维素纤维是什么面料| 蔬菜都有什么| 女装什么牌子好| 百度Jump to content

高扬真善美 共绘同心圆 杭州网络社会工作专辑新华网

From Wikipedia, the free encyclopedia
Pony
ParadigmActor model, Object-oriented, Imperative
Designed bySylvan Clebsch[1]
First appeared28 April 2015; 10 years ago (2025-08-06)[2]
Stable release
0.59.0 / April 26, 2025; 3 months ago (2025-08-06)
Typing disciplinestrong, static, inferred, nominal, structural
Implementation languageC
LicenseBSD-2.[3]
Websitewww.ponylang.org
Influenced by
E[4]
Influenced
Project Verona[5]
百度 数据显示,今年1-2月,全国商品住宅销售面积增长2.3%,比2017年全年增速大幅下调3个百分点;住宅销售额增长15.7%,比2017年全年增速提高了4.4个百分点。

Pony (also referred to as ponylang) is a free and open source, object-oriented, actor model, capabilities-secure, high performance programming language.[6][7] Pony's reference capabilities allow even mutable data to be safely passed by reference between actors. Garbage collection is performed concurrently, per-actor, which eliminates the need to pause program execution or "stop the world".[8][9][10] Sylvan Clebsch is the original creator of the language.[11][12] It is now being maintained and developed by members of the Pony team.[13]

History

[edit]

The language was created by Sylvan Clebsch, while a PhD student at Imperial College London. His professor at that time was Sophia Drossopoulou, who is also well known for her contributions to computer programming, and as a lecturer. According to developers who have talked to Sylvan, he was frustrated with not having a high performance language that could run concurrent code securely, safely, and more simply.[14]

Language design

[edit]

At its core, Pony is a systems language designed around safety and performance.

Safety

[edit]
  • Type safety - Pony is a type safe language.[15]
  • Memory safety - There are no dangling pointers and no buffer overruns. There is no null but optional types can be safely represented using unions with the None type.[6][16]
  • Exception safety - There are no runtime exceptions. All exceptions have defined semantics and are always caught.[17]
  • Concurrency safety - The type system employs reference capabilities to ensure (at compile time) that there are no data races nor deadlocks.[18][19][20][21]

Performance

[edit]
  • Lock-free - By design, Pony avoids the need for traditional locking mechanisms, which eliminates the overhead and contention associated with locks.[14]
  • Native code - Pony is an ahead-of-time compiled language. There is no interpreter or virtual machine[18][16]
  • Concurrent garbage collection - Each actor's heap is collected separately and concurrently, avoiding the need to "stop the world" for global collection.[11][12][21]

Examples

[edit]

Hello World

[edit]

In Pony, instead of a main function, there is a main actor. The creation of this actor serves as the entry point into the Pony program.[6][17]

actor Main
  new create(env: Env) =>
    env.out.print("Hello, world!")

There are no global variables in Pony, meaning everything must be contained within an instance of a class or an actor.[14] As such, even the environment that allows for printing to standard output is passed as a parameter.[14][6]

References

[edit]
  1. ^ "Sylvan Clebsch". ACM.
  2. ^ "First public release". GitHub. 28 April 2015.
  3. ^ "Ponyc/LICENSE at main · ponylang/Ponyc". GitHub.
  4. ^ Daniele BonettaLuca; Svizzera italiana; Stefan Marr; Walter Binder (2 November 2016). "GEMS: Shared-Memory Parallel Programming for Node.js". oracle. Retrieved 10 March 2025. Pony is itself inspired by the design of E's programming model
  5. ^ Liam Tung. "Microsoft opens up Rust-inspired Project Verona programming language on GitHub". ZDNet. Project Verona, which also borrows concepts from Cyclone, a "safe dialect of C" and Pony, which has key contributors from Microsoft Research
  6. ^ a b c d Allen 2024.
  7. ^ "Introduction to Actor Model". adabeat. 8 August 2024. Retrieved 8 March 2025.
  8. ^ Sylvan Clebsch; Juliana Franco; Sophia Drossopoulou (12 October 2017). "Ownership and Reference Counting Based Garbage Collection in the Actor World". Proc. ACM Program. Lang. 1 (OOPSLA): 72:1–72:28. doi:10.1145/3133896. Retrieved 24 December 2024.
  9. ^ "Introduction to the Pony Programming Language". LinkedIn. Society 5 Solutions. 15 October 2024. Retrieved 28 December 2024.
  10. ^ Daniel Caccamo (2018). "GoA: Actors with Locally Managed Memory for Go". UWSpace. Retrieved 28 December 2024.
  11. ^ a b Charles Humble (14 March 2016). "Using the Actor-model Language Pony for FinTec". InfoQ. Retrieved 24 December 2024.
  12. ^ a b Sophia Drossopoulou (14 September 2020). "Pony, Actors, Causality, Types, and Garbage Collection". InfoQ. Retrieved 24 December 2024.
  13. ^ "Team Pony". GitHub. Retrieved 28 December 2024.
  14. ^ a b c d Kristoffer Gr?nlund (22 January 2018). Everyone gets a pony!. archive. Linux Conference Australia 2018 (LCA2018). Retrieved 28 December 2024.
  15. ^ John Mumm (19 March 2019). "Safely Sharing Data: Reference Capabilities in Pony". codemotion. Retrieved 28 December 2024.
  16. ^ a b Ankush Thakur (21 December 2024). 12 New Programming Languages You Should Know. geekflare. Retrieved 3 January 2025.
  17. ^ a b MCStone 2023.
  18. ^ a b M?lle 2017.
  19. ^ Sean T Allen (30 May 2018). "Introduction to the Pony programming language". opensource. Retrieved 28 December 2024.
  20. ^ Sylvan Clebsch; Sophia Drossopoulou; Sebastian Blessing (October 2015). "Deny capabilities for safe, fast actors". In Elisa Gonzalez Boix, Philipp Haller, Alessandro Ricci, Carlos Varela (ed.). AGERE! 2015: Proceedings of the 5th International Workshop on Programming Based on Actors, Agents, and Decentralized Control. Pittsburgh, PA, USA: Association for Computing Machinery. pp. 1–12. doi:10.1145/2824815.2824816. ISBN 9781450339018.{{cite conference}}: CS1 maint: multiple names: editors list (link)
  21. ^ a b Juliana Franco; Sylvain Clebsch; Sophia Drossopoulou; Jan Vitek; Tobias Wrigstad (9 March 2018). "Soundness of a Concurrent Collector for Actors" (PDF). imperial. Retrieved 8 March 2025.

Further reading

[edit]
  • M?lle, Andreas (Dec 2017). "Developing concurrent programs with Pony". Linux Magazine (205). ISSN 1536-4674.
  • MCStone, Maverick (Dec 2023). Pony Playbook: Mastering the Basics of Concurrent Programming. Independently Published. ISBN 979-8870768175.
  • Allen, Corby (Jul 2024). Pony Programming: The Complete Guide to Building High-Performance, Concurrent, and Secure Applications with Pony. Independently Published. ISBN 979-8332662072.
[edit]
巩固是什么意思 世界上最坚硬的东西是什么 女性腰肌劳损吃什么药 摩羯座是什么象星座 六指是什么原因导致的
我方了是什么意思 土鸡炖什么好吃 熊猫为什么会成为国宝 孩子是ab型父母是什么血型 嗓子肿痛吃什么药
凭什么 高凝状态是什么意思 男生射精什么感觉 减肥期间晚上吃什么 食色性也是什么意思
为什么出汗特别多 白头发多是什么原因 丰的部首是什么偏旁 七月有什么节日 脂蛋白高是什么原因
姑息是什么意思hcv9jop5ns9r.cn 胚芽米是什么米hcv8jop5ns8r.cn 茶话会是什么意思96micro.com 21三体综合征是指什么hcv8jop7ns3r.cn 山竹什么时候吃是应季zsyouku.com
小孩咳嗽吃什么药效果最好cj623037.com 椎间盘轻度膨出是什么意思hcv8jop3ns4r.cn 手腕扭伤挂什么科hcv7jop7ns0r.cn 子非鱼什么意思hcv9jop7ns2r.cn 特首是什么意思hcv7jop5ns3r.cn
痔疮吃什么药好的快hcv9jop2ns3r.cn 年少轻狂下一句是什么hcv9jop5ns3r.cn 肚子咕咕叫吃什么药hcv8jop1ns2r.cn 吃什么能降尿酸hcv8jop5ns6r.cn 什么的医术hcv7jop6ns5r.cn
经常头晕是什么原因引起的hcv8jop8ns9r.cn 二月二十五号是什么星座sscsqa.com 女人梦到蛇是什么意思hcv7jop9ns8r.cn 指奸是什么意思hcv9jop0ns3r.cn 颈椎头晕吃什么药cl108k.com
百度