From POSIX Threads to Ada to Java: A Brief History of Runtime Development for Some Real-Time Programming Languages

Author(s):  
T. Baker
2021 ◽  
Vol 31 ◽  
Author(s):  
BHARGAV SHIVKUMAR ◽  
JEFFREY MURPHY ◽  
LUKASZ ZIAREK

Abstract There is a growing interest in leveraging functional programming languages in real-time and embedded contexts. Functional languages are appealing as many are strictly typed, amenable to formal methods, have limited mutation, and have simple but powerful concurrency control mechanisms. Although there have been many recent proposals for specialized domain-specific languages for embedded and real-time systems, there has been relatively little progress on adapting more general purpose functional languages for programming embedded and real-time systems. In this paper, we present our current work on leveraging Standard ML (SML) in the embedded and real-time domains. Specifically, we detail our experiences in modifying MLton, a whole-program optimizing compiler for SML, for use in such contexts. We focus primarily on the language runtime, reworking the threading subsystem, object model, and garbage collector. We provide preliminary results over a radar-based aircraft collision detector ported to SML.


Author(s):  
Mark Reybrouck

Musical sense-making relies on two distinctive strategies: tracking the moment-to-moment history of the actual unfolding and recollecting actual and previous sounding events in a kind of synoptic overview. Both positions are not opposed but complement each other. The aim of this contribution, therefore, is to provide a comprehensive framework that provides both conceptual and operational tools for coping with the sounds. Five major possibilities are proposed in this regard: (i) the concepts of perspective and resolution, which refer to the distance the listener takes with respect to the sounding music and the fine-grainedness of his/her discriminative abilities; (ii) the continuous/discrete dichotomy which conceives of the music as one continuous flow as against a division in separate and distinct elements; (iii) the in time/outside-of-time distinction, with the former proceeding in real time and the latter proceeding outside of the time of unfolding; (iv) the deictic approach to musical sense-making, which conceives of an act of mental pointing to the music, and (v) the levels of processing, which span a continuum between primitive sensory reactivity to actual sounding stimuli and high-level symbolic processing.


10.2196/13388 ◽  
2020 ◽  
Vol 4 (5) ◽  
pp. e13388
Author(s):  
Stéphane Darbeda ◽  
Henri-Jean Aubin ◽  
Michel Lejoyeux ◽  
Amandine Luquiens

Background Problem gambling is a growing public health issue that is characterized by low rates of face-to-face help seeking. Helplines and real-time chat services could reduce shortfalls in treatment. Objective This study aimed to (1) describe the characteristics of gamblers contacting a government-funded help service, (2) study the evolution of their characteristics over time, (3) evaluate the differences between subgroups (ie, gender, media used for gambling, and media used to contact the service), and (4) explore factors influencing referral to care. Methods From January 2011 to December 2015, a government-funded gambling helpline and real-time chat website in France received 9474 contacts from gamblers. Counselors filled in a form for each contact, collecting demographics, gambling characteristics, and referrals. Time-series analyses were performed. Univariate logistic models were used to assess differences across subgroups. A multivariate analysis was conducted to determine the variables related to an actual referral. Results Gamblers were predominantly men (7017/9474, 74.07%); the average age was 41 years (SD 14). Compared with the men, the women were older (mean 50.7 years, SD 14.0 vs mean 37.9 years, SD 13.0, respectively; P<.001), were more often solely offline gamblers (1922/2457, 78.23% vs 4386/7017, 62.51%, respectively; P<.001), and had different gambling patterns. Compared with helpline contacts, real-time chat contacts were more often men (124/150, 82.7% vs 3643/4881, 74.64%, respectively; P=.04), younger (mean 32.8 years, SD 12.9 vs mean 41.3 years, SD 14.3, respectively; P<.001), more often poker gamblers (41/150, 27.3% vs 592/4881, 12.13%, respectively; P<.001), and more often web-based gamblers (83/150, 55.3% vs 1462/4881, 29.95%, respectively; P<.001). Referral was positively associated with betting (adjusted odds ratio [aOR] 1.46, 95% CI 1.27-1.67; P<.001), casino gambling (aOR 1.38, 95% CI 1.21-1.57; P<.001), scratch cards (aOR 1.83, 95% CI 1.58-2.12; P<.001), poker gambling (aOR 1.35, 95% CI 1.14-1.61; P<.001), lottery (aOR 1.27, 95% CI 1.03-1.56; P=.03), weekly gambling (aOR 1.73, 95% CI 1.40-2.15; P<.001), request for referral (aOR 17.76, 95% CI 14.92-21.13; P<.001), and a history of suicide attempts (aOR 2.13, 95% CI 1.51-3.02; P<.001), and it was negatively associated with web-based gambling (aOR 0.86, 95% CI 0.75-0.98; P=.030) and refusal to be referred (aOR 0.35, 95% CI 0.26-0.49; P<.001). Conclusions The governmental helpline and chat contacts included a broad range of sociodemographic profiles. Compared with the helpline, real-time chat exchanges reached a younger population of web-based gamblers, which was the target population. The development of the gambling helpline and help online website is a considerable challenge for the future.


Sign in / Sign up

Export Citation Format

Share Document