当前位置:网站首页>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—————
边栏推荐
- IDEA 项目启动报错 Shorten the command line via JAR manifest or via a classpath file and rerun.
- 编译libssh2报错找不到openssl
- EasyX second lesson
- Alpha conversion from gamma space to linner space under URP (II) -- multi alpha map superposition
- 漫画:如何实现大整数相乘?(下)
- C (WinForm) the current thread is not in a single threaded unit, so ActiveX controls cannot be instantiated
- 【二叉树】根到叶路径上的不足节点
- Is it safe and reliable to open futures accounts on koufu.com? How to distinguish whether the platform is safe?
- Tita performance treasure: how to prepare for the mid year examination?
- Summary of optimization scheme for implementing delay queue based on redis
猜你喜欢

一个满分的项目文档是如何书写的|得物技术

Rider set the highlighted side of the selected word, remove the warning and suggest highlighting

7. Scala class

33: Chapter 3: develop pass service: 16: use redis to cache user information; (to reduce the pressure on the database)

项目引入jar从私服Nexus 拉去遇到的一个问题
Complete solution instance of Oracle shrink table space

thinkphp模板的使用

Machine learning 01: Introduction
基于Redis实现延时队列的优化方案小结

基于51单片机的电子时钟设计
随机推荐
mysql5.6解析JSON字符串方式(支持复杂的嵌套格式)
【jmeter】jmeter脚本高级写法:接口自动化脚本内全部为变量,参数(参数可jenkins配置),函数等实现完整业务流测试
哈趣K1和哈趣H1哪个性价比更高?谁更值得入手?
Error in compiling libssh2. OpenSSL cannot be found
thinkphp3.2.3
7.Scala类
WebApp开发-Google官方教程
激动人心!2022开放原子全球开源峰会报名火热开启!
Machine learning compilation lesson 2: tensor program abstraction
忽米沄析:工业互联网标识解析与企业信息系统的融合应用
C#实现水晶报表绑定数据并实现打印3-二维码条形码
Kafaka技术第一课
Beijing internal promotion | the machine learning group of Microsoft Research Asia recruits full-time researchers in nlp/ speech synthesis and other directions
Embedded-c language-6
Embedded UC (UNIX System Advanced Programming) -2
Three traversal methods of binary tree
中国银河证券开户安全吗 开户后多久能买股票
Rider 设置选中单词侧边高亮,去除警告建议高亮
Use byte stream to read Chinese from file to console display
7. Scala class