TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rouille

338 pointsby cunidevover 3 years ago

29 comments

desdivover 3 years ago
&gt;You&#x27;re from Quebec and don&#x27;t feel at ease using only French words? Don&#x27;t worry! French Rust is fully compatible with English-Rust, so you can mix both at your convenience.<p>Interesting factoid: in France, most of the stop signs say &quot;stop&quot; due to the Vienna Convention on Road Signs and Signals linked below.<p>In Québec, on the other hand, most of the stop signs say &quot;Arrêt&quot; due to nationalism reasons. Bilingual Arrêt&#x2F;Stop signs exist, but are rare.
评论 #28492313 未加载
评论 #28491931 未加载
评论 #28492656 未加载
评论 #28491988 未加载
评论 #28492396 未加载
评论 #28493330 未加载
efreconover 3 years ago
I know this is a joke. But.. when I learnt C programming, and in order to smooth transition from algo classes to practical programming, we were told to #include a header file that would more or less do what this does for rust. The header file would also enforce curly braces and parentheses when writing loops or condition statements, as far as I remember. Fact is: it actually helped. Problem: my first foray in the industry would involve C and guess what? They used english-C (sorry no better word for it) rather then french-C. I fought for a few weeks re-learning the language.
评论 #28492016 未加载
评论 #28493776 未加载
评论 #28492403 未加载
评论 #28492360 未加载
评论 #28492963 未加载
评论 #28492217 未加载
评论 #28492567 未加载
remramover 3 years ago
They also expanded all keywords, so &quot;fn&quot; becomes &quot;function&quot;, &quot;mut&quot; becomes &quot;mutable&quot; (which is not even a common word? How about &quot;altérable&quot; or &quot;modifiable&quot;?). Interestingly the Result::Err variant was kept short with Résultat::Arf which is an onomatopoeia.<p>10&#x2F;10 looks very painful to use. Reminds me of my college days.
Syttenover 3 years ago
&gt;You&#x27;re from Quebec and don&#x27;t feel at ease using only French words? Don&#x27;t worry! French Rust is fully compatible with English-Rust, so you can mix both at your convenience.<p>This gave me a &quot;PTSD moment&quot; of university projects in Java with variables in French and comments in Franglais (mix of French and English). Some old teachers even made it mandatory to write comments in french (I suspect they didn&#x27;t understand English beyond the language keywords).
评论 #28493209 未加载
评论 #28495957 未加载
thesuperbigfrogover 3 years ago
You can write Perl in Latin: <a href="https:&#x2F;&#x2F;metacpan.org&#x2F;dist&#x2F;Lingua-Romana-Perligata&#x2F;view&#x2F;lib&#x2F;Lingua&#x2F;Romana&#x2F;Perligata.pm" rel="nofollow">https:&#x2F;&#x2F;metacpan.org&#x2F;dist&#x2F;Lingua-Romana-Perligata&#x2F;view&#x2F;lib&#x2F;L...</a><p>or Klingon: <a href="https:&#x2F;&#x2F;metacpan.org&#x2F;pod&#x2F;Lingua::tlhInganHol::yIghun" rel="nofollow">https:&#x2F;&#x2F;metacpan.org&#x2F;pod&#x2F;Lingua::tlhInganHol::yIghun</a>
评论 #28492892 未加载
rzzztover 3 years ago
No mention of the British PHP article yet‽ <a href="https:&#x2F;&#x2F;aloneonahill.com&#x2F;blog&#x2F;if-php-were-british&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aloneonahill.com&#x2F;blog&#x2F;if-php-were-british&#x2F;</a>
ghego1over 3 years ago
First, the readme is simply hilarious!<p>Jokes asides, the concept underlying this project is actually interesting. It wouldn&#x27;t be bad at all if programming languages were localizable.<p>I think it would help many if it was possible to choose the (human) language in which to use a programming language. Ideally, the same source code could be viewed in different languages depending on the preferred idiom of the developer.
评论 #28491924 未加载
评论 #28491727 未加载
评论 #28492189 未加载
评论 #28491942 未加载
评论 #28491726 未加载
评论 #28492013 未加载
评论 #28497230 未加载
pyraleover 3 years ago
Rouille is also best deployed using Marcel.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;brouberol&#x2F;marcel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;brouberol&#x2F;marcel</a>
mhdover 3 years ago
This used to be a lot more common in the early days of computer science teaching, where you had localized versions of Pascal or Basic.<p>For an extreme version of this, where the language isn&#x27;t just used to replace a few keywords, there&#x27;s always Linga::Romana::Perligata.<p><a href="https:&#x2F;&#x2F;users.monash.edu&#x2F;~damian&#x2F;papers&#x2F;HTML&#x2F;Perligata.html" rel="nofollow">https:&#x2F;&#x2F;users.monash.edu&#x2F;~damian&#x2F;papers&#x2F;HTML&#x2F;Perligata.html</a>
dan-robertsonover 3 years ago
A curious thing about programming is that it became prominent when English dominated academia (and computer science was extremely American.) Compare this to, for example, mathematics where:<p>- some words are loaned from another language like Eigenvector or group (sort of—I think it came from the French <i>groupe</i>). Also eg a blackboard-bold Z (for <i>Zahlen</i>) or Q (for <i>quoziente</i>) for integers or rationals<p>- other words are taken from the native language (eg rational or probability or field extension) though they may derive from Greek or Latin and have cognates in other languages.<p>- some symbols are quite universal and used in every language (eg the forall or exists or implies symbols)<p>- I don’t know whether letters that are typically used for things are the same (eg I don’t know why density is often rho. Is it referring to a word in a different language)<p>- the proofs are written in the native language and often that part matters a lot.<p>- so much stuff is named after people so words don’t need to be translated (eg noetherian domains or Cauchy–Schwarz)<p>- I wonder if some theorems get different names? (I assume in China they don’t call it Chinese remainder theorem)
评论 #28497380 未加载
michidkover 3 years ago
And now there is a german fork as well: <a href="https:&#x2F;&#x2F;github.com&#x2F;michidk&#x2F;rost&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;michidk&#x2F;rost&#x2F;</a>
dgellowover 3 years ago
Does one of you remember WinDev? Their programming language (WLangage IIRC?) and APIs were available in multiple language, I had to use the French version. It was really a horrible experience to always have to check the language spec to lookup for their weirdly translated keywords.<p>I would definitely not recommend.
评论 #28492143 未加载
评论 #28493669 未加载
siva7over 3 years ago
I wish this was a joke but actually reading upon the french governments plans i‘m not entirely sure anymore
xcambarover 3 years ago
Il y a même les accents, bravo ! Merde à Rouille !
评论 #28492022 未加载
charles_fover 3 years ago
Awesome idea and well realized.<p>In my consulting days I met a number of customers in Quebec who were coding with French method names, variables and such. They were even using accented names for variables. I actually think if they get onto Rouille they might start using it. That&#x27;s scary but at least, it would look less <i>bancal</i>.<p>I can bet you can find the same use case in all other languages, so we need Óxido and 锈<p>Edit: LOL just discovered there are a few of these already <a href="https:&#x2F;&#x2F;github.com&#x2F;bnjbvr&#x2F;rouille&#x2F;network&#x2F;members" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bnjbvr&#x2F;rouille&#x2F;network&#x2F;members</a>
brundolfover 3 years ago
People are probably going to say this is silly (and maybe the author would say the same), but I think it&#x27;s an awesome demonstration of what Rust macros can do, and I think it could also become genuinely useful for non-English speakers who want to write code in an English-centric landscape. Most people in France and Quebec probably know enough English to work with English keywords in code, but I bet for people in lots of non-western countries it can be a real hurdle in terms of approachability and readability.
jumellesover 3 years ago
If you like this, check out قلب [The current name قلب means Heart, but is actually a recursive acronym for قلب: لغة برمجة pronounced &#x27;alb: lughat barmajeh meaning Heart: A Programming Language].<p><a href="https:&#x2F;&#x2F;nas.sr&#x2F;%D9%82%D9%84%D8%A8&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nas.sr&#x2F;%D9%82%D9%84%D8%A8&#x2F;</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;nasser&#x2F;---" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nasser&#x2F;---</a>
saint-loupover 3 years ago
If this is a <i>Brice de Nice</i> reference I&#x27;m going to lose it.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bnjbvr&#x2F;rouille&#x2F;commit&#x2F;3d67732c593a78f05454b8053f3d8ea2c04b3828" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bnjbvr&#x2F;rouille&#x2F;commit&#x2F;3d67732c593a78f0545...</a>
评论 #28511533 未加载
Zababaover 3 years ago
I don&#x27;t think &quot;PeutÊtre&lt;T&gt;&quot; is a good substitute for Option&lt;T&gt;. The direct translation is Maybe&lt;T&gt;. Maybe&lt;T&gt; is used in Haskell. Haskell was made in the UK. There&#x27;s no way we could accept this for our French language.
leshowover 3 years ago
I really thought this was about the web server framework <a href="https:&#x2F;&#x2F;github.com&#x2F;tomaka&#x2F;rouille" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tomaka&#x2F;rouille</a>, that&#x27;s been around for ages.
29athrowawayover 3 years ago
There could be a compiler flag to parse keywords in another language.
nsarafaover 3 years ago
Native English speakers are quite lucky all programming languages are in English. Imagine China created their own languages and OS? We couldn&#x27;t keep up
评论 #28493293 未加载
eceover 3 years ago
This must be what the Merovingian codes in.
crvdgcover 3 years ago
&gt; fonction écrire(<p>I love how in the README, the syntax highlighter doesn&#x27;t pick up letters with diacritical marks.
rPlayer6554over 3 years ago
Someone from Italy should make a fork of Java called &quot;Cappuccino&quot;?
评论 #28492524 未加载
0xbadcafebeeover 3 years ago
You know nobody&#x27;s intended to use it when it has WTFPL
jeffrallenover 3 years ago
C&#x27;est magnifique !
cfnover 3 years ago
As a !Quebequois I was disappointed that the Readme was in English.
moralestapiaover 3 years ago
&gt;Would you like to try something different, in an exotic and funny-sounding language?<p>Casually derogatory joke, a classic.