当前位置:网站首页>The five most difficult programming languages in the world
The five most difficult programming languages in the world
2022-07-05 17:29:00 【Small ash】
When we talk about c,c++ ,Java,Python When , Some languages are not only difficult , And it's almost incomprehensible to most software developers .
These languages are called Esoteric programming languages , English is called esoteric programming language, abbreviation esolang.
Here are the five most difficult languages to understand , I try to program in these languages Hello World, It looks very interesting .
Malbolge
Malbolge yes Ben Olmstead stay 1998 Invented in , such esolang Considered the most complex programming language .
It is said that ,Malbolge The author of a programming language has never written any code in this language , and Malbolge Of hello world The code appears in Olmstead Two years after the invention of the language .
This is a Malbolge Print “ Hello World! ” Code snippet of .
(=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc
The output is as follows :
INTERCAL
INTERCAL yes “Compiler Language With No Pronounceable Acronym” Abbreviation ,Jim Lyon and Don Woods stay 1972 Invented in INTERCAL, Satirized many aspects of various programming languages at that time , And in 20 century 60 The language structure and annotation of the year .
INTERCAL There are lots of dumb looking designs .
for example : It uses things like “ PLEASE” And so on , If you don't use it very often in your code “ PLEASE” , Compiling code will report an error . It thinks the project is not polite , If the modifier “ PLEASE” Too much , The compiler will also report errors , He thinks you “ Excessive politeness ”... ...
Here is INTERCAL Print in “ Hello,World! ” Code snippet of .
DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #238
DO ,1 SUB #2 <- #108
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #162
PLEASE READ OUT ,1
PLEASE GIVE UP
The output is as follows :
Brainfuck
Brainfuck By Urban Muller On 1993 Year development , This language was invented by programmers . Chinese translation : Damn it ... ..., Google gave me a new idea , be called brainstem ... ...
The whole language contains only 8 Different characters , Used to implement any code , from Muller The original compiler was developed using only 296 Bytes .
This language , It's a way of following “Turing complete( Turing Complete )” The language of thought design , Its main design idea is : Use the minimum concept to realize a kind of “ Simple ” Language .
This is a Brainfuck Print “ Hello World! ” Code snippet of .
++++++++++[>+++++++>++++++++++>+++<<<-]>++.>+.+++++++
..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.
The output is as follows :
And for this language , There is also an interesting video on Zhihu , You can search to see .
COW
Cow By Sean Heber stay 2003 Invented in , Once you see hello world Code , You'll see why this language is named COW.
Cow At the level of difficulty Brainfuck be similar , And Brainfuck comparison , There's more of it 4 Bar command , in other words , There is... In the whole language 12 Bar command .
The following is to use COW Print “ Hello,World! ” Code snippet of .
MoO MoO MoO MoO MoO MoO MoO MoO MOO moO MoO MoO MoO MoO MoO moO MoO MoO MoO MoO moO MoO MoO MoO MoO moO MoO MoO MoO MoO MoO MoO MoO
MoO MoO moO MoO MoO MoO MoO mOo mOo mOo mOo mOo MOo moo moO moO moO moO Moo moO MOO mOo MoO moO MOo moo mOo MOo MOo MOo Moo MoO MoO
MoO MoO MoO MoO MoO Moo Moo MoO MoO MoO Moo MMM mOo mOo mOo MoO MoO MoO MoO Moo moO Moo MOO moO moO MOo mOo mOo MOo moo moO moO MoO
MoO MoO MoO MoO MoO MoO MoO Moo MMM MMM Moo MoO MoO MoO Moo MMM MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo mOo MoO Moo
The output is as follows :
Whitespace
Whitespace By Chris Morris and Edwin Brady Developed at Durham University , And it is in 2003 April Fool's Day .
Most modern programming languages don't treat white space characters as part of grammar , but Whitespace But only blank space 、 Tabs and line breaks are part of the grammar ,Whitespace The interpreter for ignores all non whitespace characters , And think of it as a code comment .
Here's a blank print “ Hello World! ” Code snippet of . In the following code , Every space 、 A tab or newline character is preceded by a comment “ s”、“ t” or “ l”.
S S S T S S T S S S L
T L
S S S S S T T S S T S T L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S T T T T L
T L
S S S S S T S T T S S L
T L
S S S S S T S S S S S L
T L
S S S S S T T T S T T T L
T L
S S S S S T T S T T T T L
T L
S S S S S T T T S S T S L
T L
S S S S S T T S T T S S L
T L
S S S S S T T S S T S S L
T L
S S S S S T S S S S T L
T L
S S L
L
L
The output is as follows :
Image for post
Last , This site has more esolang, You can try and play by yourself , It's all very interesting , In addition, there is a topic called esolang, There are also many posts in it , If you are interested, you can go and have a look .
The content of this article comes from https://levelup.gitconnected.com/5-most-difficult-programming-languages-in-the-world-549c3cf91b23 translate .
—————END—————
边栏推荐
- Error in compiling libssh2. OpenSSL cannot be found
- 漫画:如何实现大整数相乘?(上) 修订版
- EasyX second lesson
- Use of ThinkPHP template
- CVPR 2022 best student paper: single image estimation object pose estimation in 3D space
- The second day of learning C language for Asian people
- 張平安:加快雲上數字創新,共建產業智慧生態
- Zhang Ping'an: accelerate cloud digital innovation and jointly build an industrial smart ecosystem
- Embedded-c Language-5
- Which is more cost-effective, haqu K1 or haqu H1? Who is more worth starting with?
猜你喜欢
Embedded-c Language-2
Embedded -arm (bare board development) -2
机器学习02:模型评估
Design of electronic clock based on 51 single chip microcomputer
mongodb(快速上手)(一)
What are the precautions for MySQL group by
In depth understanding of redis memory obsolescence strategy
thinkphp3.2.3
基于Redis实现延时队列的优化方案小结
统计php程序运行时间及设置PHP最长运行时间
随机推荐
IDEA 项目启动报错 Shorten the command line via JAR manifest or via a classpath file and rerun.
Is it safe for China Galaxy Securities to open an account? How long can I buy stocks after opening an account
ICML 2022 | Meta提出鲁棒的多目标贝叶斯优化方法,有效应对输入噪声
The first lesson of EasyX learning
Embedded-c Language-3
漫画:如何实现大整数相乘?(下)
【Web攻防】WAF检测技术图谱
thinkphp3.2.3
CMake教程Step3(添加库的使用要求)
2022 年 Q2 加密市场投融资报告:GameFi 成为投资关键词
编译libssh2报错找不到openssl
漫画:寻找无序数组的第k大元素(修订版)
腾讯音乐上线新产品“曲易买”,提供音乐商用版权授权
Use JDBC technology and MySQL database management system to realize the function of course management, including adding, modifying, querying and deleting course information.
C#实现水晶报表绑定数据并实现打印3-二维码条形码
Is it safe and reliable to open futures accounts on koufu.com? How to distinguish whether the platform is safe?
CMake教程Step1(基本起点)
忽米沄析:工业互联网标识解析与企业信息系统的融合应用
一文了解MySQL事务隔离级别
Q2 encryption market investment and financing report in 2022: gamefi becomes an investment keyword