Speaking C++ as a native

被引:0
|
作者
Stroustrup, B [1 ]
机构
[1] AT&T Labs Res, Murray Hill, NJ 07974 USA
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
C++ supports several styles ("multiple paradigms") of programming. This allows great flexibility, rotational convenience, maintainability, and close-to-optimal performance. Programmers who don't know the basic native C++ styles and techniques "speak" C++ with a thick accent, limiting themselves to relatively restrictive pidgin dialects. Here, I present language features such as classes, class hierarchies,* abstract classes, and templates, together with the fundamental programrning styles they support. In particular, I show how to provide generic algorithms, function objects, access objects, and delayed evaluation as needed to build and use flexible and efficient libraries. The aim is to give an idea of what's possible to provide, and some understanding of the fundamental techniques of modern C++ libraries.
引用
收藏
页码:11 / 21
页数:11
相关论文
共 50 条
  • [1] Foundations for native C++ styles
    Koenig, A
    Stroustrup, B
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1995, 25 : 45 - 86
  • [2] A C++ native interface for interpreted JVMs
    Corsaro, A
    Santoro, C
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2003: OTM 2003 WORKSHOPS, 2003, 2889 : 564 - 577
  • [3] C++WSP: A C++ web services platform - A native C++ approach to web services
    Naqvi, K
    Sharaafath, CAY
    [J]. DR DOBBS JOURNAL, 2003, 28 (04): : 18 - +
  • [4] Mxyzptlk: An eficient, native C++ differentiation engine
    Ostiguy, J. -F.
    Michelotti, L.
    [J]. 2007 IEEE PARTICLE ACCELERATOR CONFERENCE, VOLS 1-11, 2007, : 1708 - 1710
  • [5] Java']Java Native Interface idioms for C++ class hierarchies
    Parson, D
    Zhu, ZY
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2000, 30 (15): : 1641 - 1660
  • [6] WATCOM C++ AND MACINTOSH C++
    STEVENS, A
    [J]. DR DOBBS JOURNAL, 1993, 18 (10): : 133 - 136
  • [7] ADVANTAGE C++ AND GUIDELINES C++
    MALLETT, M
    [J]. BYTE, 1987, 12 (11): : 229 - &
  • [8] APR networking & the reactor pattern -: Native-code portability for C/C++ programmers
    McCallum, Ethan Q.
    [J]. DR DOBBS JOURNAL, 2006, 31 (11): : 64 - +
  • [9] 从C++走向标准C++
    张成章
    [J]. 中文信息, 1999, (01) : 25 - 29
  • [10] Standard C/C++: Testing C++ library conformance
    Plauger, P.J.
    [J]. C/C++ Users Journal, 2000, 18 (04):