top | item 27326003

Tcl Calling Parallel C++ Code Using OpenMP

90 points| blacksqr | 4 years ago |wiki.tcl-lang.org | reply

11 comments

order
[+] nerdponx|4 years ago|reply
SWIG seems really powerful, but not very common in my experience. Why don't we use this more often to create bindings for the same important core libraries across multiple languages?
[+] elteto|4 years ago|reply
Oh but it is used a lot, just not out in the open. We use it to bridge millions of lines of C and C++ with millions of lines of Perl and Python. It is quirky but really stable once you get it going.
[+] ridruejo|4 years ago|reply
I’m surprised at how often Tcl makes it to the HN front page even it is not supposed to be a popular language. Even more surprised it is for relatively obscure topics.
[+] ppereira|4 years ago|reply
Many tools used in chip design are controlled with Tcl. It provides a stable repl for these heavy, multi-threaded, efficient, C++ programs.
[+] rkeene2|4 years ago|reply
Tcl tends to get used in weird places, and is stable so has a high sticky-ness.
[+] smartmic|4 years ago|reply
I find it much more exciting to make such discoveries with old, stable languages than to follow the latest developments of hip languages. Much of what is invented or rewritten there again and again has been running with proven tools for decades. However, this is often only known to older graybeards who still use stable industrial code without wider open source visibility.
[+] markhahn|4 years ago|reply
Can we just call tcl a fetish programming language?
[+] blacksqr|4 years ago|reply
You've hit the nail on the head. There's nothing considered kinkier in the software world than wanting to create correct and useful programs in reasonable time using tools that minimize complexity.