Proceedings of the Institute for System Programming of the RAS
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Proceedings of ISP RAS:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Proceedings of the Institute for System Programming of the RAS, 2016, Volume 28, Issue 2, Pages 5–32
DOI: https://doi.org/10.15514/ISPRAS-2016-28(2)-1
(Mi tisp17)
 

Language support for generic programming in object-oriented languages: design challenges

Julia Belyakova

I. I. Vorovich Institute of Mathematics, Mechanics and Computer Science, Southern Federal University
References:
Abstract: It is generally considered that object-oriented (OO) languages provide weaker support for generic programming (GP) as compared with functional languages such as Haskell or SML. There were several comparative studies which showed this. But many new object-oriented languages have appeared in recent years. Have they improved the support for generic programming? And if not, is there a reason why OO languages yield to functional ones in this respect? In the earlier comparative studies object-oriented languages were usually not treated in any special way. However, the OO features affect language facilities for GP and a style people write generic programs in such languages. In this paper we compare ten modern object-oriented languages and language extensions with respect to their support for generic programming. It has been discovered that every of these languages strictly follows one of the two approaches to constraining type parameters. So the first design challenge we consider is «which approach is better». It turns out that most of the explored OO languages use the less powerful one. The second thing that has a big impact on the expressive power of a programming language is language support for multiple models. We discuss pros and cons of this feature and its relation to other language facilities for generic programming.
Keywords: object-oriented languages, generic programming, generics, types, constraints, concepts, interfaces, Concept pattern, multiple models, concept-parameters.
Bibliographic databases:
Document Type: Article
Language: English
Citation: Julia Belyakova, “Language support for generic programming in object-oriented languages: design challenges”, Proceedings of ISP RAS, 28:2 (2016), 5–32
Citation in format AMSBIB
\Bibitem{Bel16}
\by Julia~Belyakova
\paper Language support for generic programming in object-oriented languages: design challenges
\jour Proceedings of ISP RAS
\yr 2016
\vol 28
\issue 2
\pages 5--32
\mathnet{http://mi.mathnet.ru/tisp17}
\crossref{https://doi.org/10.15514/ISPRAS-2016-28(2)-1}
\elib{https://elibrary.ru/item.asp?id=26480302}
Linking options:
  • https://www.mathnet.ru/eng/tisp17
  • https://www.mathnet.ru/eng/tisp/v28/i2/p5
  • Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Proceedings of the Institute for System Programming of the RAS
    Statistics & downloads:
    Abstract page:172
    Full-text PDF :126
    References:48
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2024