-
19 votes
-
Analyzing the simplest C++ program
12 votes -
Promise.all vs Promise.allSettled
3 votes -
Should x < $foo < y read from $foo once or twice? Perl debates
6 votes -
Variations on the Death of Python 2
8 votes -
LabVIEW: Community Edition
4 votes -
Programming Languages that are Both Interpretable and Compilable?
I've been thinking about the feasibility of defining a language spec that can both be compiled and interpreted lately. I first thought about it while writing code in crystal, which, for the...
I've been thinking about the feasibility of defining a language spec that can both be compiled and interpreted lately. I first thought about it while writing code in crystal, which, for the unfamiliar, is a compiled language based heavily off the syntax of an interpreted language (ruby).
Here are a couple reasons I find the idea interesting:
- It effectively neuters the interpreted/compiled language debates. Why just choose one, when both have such big upsides?
- You could develop a program in the interpreter with the same playfulness as you get in a shell, and then compile it into a speedy 'lil thing!
- It would be wonderful for metaprogramming! From my experience, languages usually define a little janked together syntax for compile-time execution. If the language had an interpreter for itself within the compiler, you could metaprogram and program in the exact same language.
I'm curious if any languages like this exist, or if you can think of more benefits.
Edit:
I just want to mention that my reference to 'feasibility' earlier is not born of disbelief - you can write a compiler or interpreter for any (to the best of my knowledge!) well defined formal grammar with enough effort. I suppose I left that word there to account for the fact that I might have unknown unknowns here.14 votes -
Zig 0.6.0 has been released
15 votes -
Nim 1.2.0 released
6 votes -
`zig cc`: a Powerful Drop-In Replacement for GCC/Clang
8 votes -
Is C++ fast?
9 votes -
The debate over adding support for the IANA time zone database to the Python standard library
7 votes -
F# 5.0 Preview
6 votes -
Scaling back my involvement in Rust - Alex Crichton
8 votes -
World's First Classical Chinese Programming Language
9 votes -
Why Discord is switching from Go to Rust
17 votes -
An update on bradfitz: Leaving Google
7 votes -
A Sad Day For Rust
27 votes -
Go 1.14 Beta 1 is released
4 votes -
Using PHP 7.4 typed properties
4 votes -
Infectious Executable Stacks and GCC's extension that allows closures in C
7 votes -
How Swift Achieved Dynamic Linking Where Rust Couldn't
5 votes -
Go Turns 10
6 votes -
async/await On Stable Rust (1.39.0)
13 votes -
Announcing Dart 2.6 with dart2native: Compile Dart to self-contained, native executables
5 votes -
Dex: array programming with typed indices (PDF)
4 votes -
قلب: لغة برمجة [alb: a programming language]
18 votes -
The Syntax Cliff - Teaching syntax with Elm 0.19.1
5 votes -
The Beauty Of The COBOL Programming Language
5 votes -
Python 3.8.0 has been released
26 votes -
Lua 5.4.0 (Beta)
7 votes -
Zig 0.5 Release Notes
10 votes -
Python for Beginners - Microsoft Developer
5 votes -
Go 1.13 Is Released
6 votes -
A fully-functional graphical text editor with syntax highlighting in thirty-nine lines of K.
13 votes -
Which language would you pick to completely rewrite BSD, Linux, etc.?
It'd my understanding that C has stuck around in the UNIX world for so long, nearly half a century, mostly due to the inertia of legacy code. If you could snap your fingers and magically port/fork...
It'd my understanding that C has stuck around in the UNIX world for so long, nearly half a century, mostly due to the inertia of legacy code.
If you could snap your fingers and magically port/fork the entire stack of open source codebases to the language of your choice, which would you pick and why?
20 votes -
JuliaCon 2019 | The Unreasonable Effectiveness of Multiple Dispatch | Stefan Karpinski
5 votes -
Programming Algorithms: A Crash Course in Lisp
7 votes -
"Perl 6 is Cursed! I hate it!"
7 votes -
So you think you know C?
19 votes -
Awk by example
11 votes -
Next steps toward Go 2
6 votes -
Spatial: A language and compiler for application accelerators
4 votes -
What is your favourite programming language?
What is the programming language you enjoy the most, or otherwise define as your favourite? Why is that particular language your favourite? Bonus: add just a little bit of code in it that you...
What is the programming language you enjoy the most, or otherwise define as your favourite? Why is that particular language your favourite?
Bonus: add just a little bit of code in it that you think exposes its beauty.
37 votes -
Rust is not a good C replacement
27 votes -
Swift 5 Released
12 votes -
Modern C++ Won't Save Us
11 votes -
The RedMonk Programming Language Rankings: January 2019
4 votes -
What programming language do you use for work and what's your favorite language?
I think there's often a discrepancy between what people program in for work and for pleasure, and I thought it'd be fun to do a survey of tildes users.
26 votes -
What's your Favourite Programming Language? Sound check question for the last year - Computerphile
7 votes