{"title":"结合同步和异步语言进行响应式编程","authors":"Martin Richard, O. Roux","doi":"10.1109/EMWRTS.1996.557944","DOIUrl":null,"url":null,"abstract":"In the framework of reactive programming, we examine the complementarity between the synchronous and asynchronous approaches. Some issues related to the synchrony assumption of the Esterel language are highlighted. We claim that it is possible to obtain asynchronous features (e.g. lengthening actions and memorized events) while keeping the benefits of the synchronous approach (e.g. proofs on the correctness of behaviors). From this comparison, principles are derived in order to translate the asynchronous Electre programs into the common code of the reactive languages (using the Esterel synchronous language). Furthermore, the idea of a mixed programming style is presented. It makes it possible to write programs consisting with a synchronous part together with an asynchronous part. Some aspects of this new approach called ambisynchronism are illustrated through an example.","PeriodicalId":262733,"journal":{"name":"Proceedings of the Eighth Euromicro Workshop on Real-Time Systems","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1996-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Conjunction of synchronous and asynchronous languages for reactive programming\",\"authors\":\"Martin Richard, O. Roux\",\"doi\":\"10.1109/EMWRTS.1996.557944\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In the framework of reactive programming, we examine the complementarity between the synchronous and asynchronous approaches. Some issues related to the synchrony assumption of the Esterel language are highlighted. We claim that it is possible to obtain asynchronous features (e.g. lengthening actions and memorized events) while keeping the benefits of the synchronous approach (e.g. proofs on the correctness of behaviors). From this comparison, principles are derived in order to translate the asynchronous Electre programs into the common code of the reactive languages (using the Esterel synchronous language). Furthermore, the idea of a mixed programming style is presented. It makes it possible to write programs consisting with a synchronous part together with an asynchronous part. Some aspects of this new approach called ambisynchronism are illustrated through an example.\",\"PeriodicalId\":262733,\"journal\":{\"name\":\"Proceedings of the Eighth Euromicro Workshop on Real-Time Systems\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1996-06-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the Eighth Euromicro Workshop on Real-Time Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/EMWRTS.1996.557944\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Eighth Euromicro Workshop on Real-Time Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/EMWRTS.1996.557944","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Conjunction of synchronous and asynchronous languages for reactive programming
In the framework of reactive programming, we examine the complementarity between the synchronous and asynchronous approaches. Some issues related to the synchrony assumption of the Esterel language are highlighted. We claim that it is possible to obtain asynchronous features (e.g. lengthening actions and memorized events) while keeping the benefits of the synchronous approach (e.g. proofs on the correctness of behaviors). From this comparison, principles are derived in order to translate the asynchronous Electre programs into the common code of the reactive languages (using the Esterel synchronous language). Furthermore, the idea of a mixed programming style is presented. It makes it possible to write programs consisting with a synchronous part together with an asynchronous part. Some aspects of this new approach called ambisynchronism are illustrated through an example.