[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>Anything embedded/low level/performance sensitive C(++ if

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 63
Thread images: 1

>Anything embedded/low level/performance sensitive
C(++ if you absolutely NEED oo)

>Desktop
C# or Java depending on platform

>File operation heavy scripts
BASH

>ANYTHING else
Python

Prove me wrong
>>
le bump xD
>>
>>58216813
>>Anything embedded/low level/performance sensitive
>C(++ if you absolutely NEED oo)
>>Desktop
>C# or Java depending on platform
>>File operation heavy scripts
>BASH
Rather do it in perl
>>ANYTHING else
>Python
Racket (scheme) over Python any day
>>
how do you get vim to look so good?
>>
>>58216813
>Thinks Python is good for anything
Retard McFagButt spotted.
>>
>>58216813

i dont use python, but if i understand your code right, then:

- your defint doesn't work when you do an integral where the TO is lower than the FROM
- you do 100.000*(TO-FROM) operations to approximate a definite integral. that is a ridicolous waste of resources and will never get done with high numbers
>>
>>58216813
Lua
>>
What de are you using?
>>
>>58216813
4/10
don't make it so obvious next time
>>
>>58216813
C# for everything, it's fast and easy to maintain.
The new .net core framework is now equal to the Qt one and is fully free, so no stupid and very expensive licence anymore.
>>
>>58217126
I like how you think, would love to see some of your code.
>>
>>58216813
mind sharing vimrc?
>>
>>58216813
Everything compiles down to Assembly eventually. Therefore the whole world runs on Assembly.
>>
>>58218235
except there is more than one type of processor, therefore there is more than one assembly language ;^)
>>
>>58217512
>.net core
Does this make Mono redundant? Seems pretty cool.
>>
>>58216813
>>Anything embedded/low level/performance sensitive
C
>Desktop
Good ol' Cpp/Qt

>File operation
bash

>Anything else
Good ol' Cpp
>>
>>58218306
You can't write programs using the C Preprocessor, idiot.
>>
>>58218320
C P P
Plus
Plus
>>
OP post dotfiles please
>>
>>58216813
I thought this was an embedded thread and when I looked at your screenshot I got triggered.
>>
>C++
>embedded

Wew
>>
>>58218320
It's turing complete
>>
>>58217171
Tell me also
>>
>>58217171
>>transparent term
>>gud colorscheme
>>a plugin for the header and the footer
>>
>>58216813
REPL plugin?
>>
>>58218320
You can't write C programs without the C Preprocessor, idiot.
>>
>>58216813
>>ANYTHING else
>Python
Will not fit in 32KB RAM on a 6502 system.

>Prove me wrong
I just did.
>>
>>58216813
>Employment
C++, C, C#, or Java
>>
>>58227132
>tfw fell for the 16KB RAM meme
>>
>>58216813
>>File operation heavy scripts
wrong
perl > bash
>>
>>58216813
I'd agree with you if you mentioned Lua, and C++ really isn't needed. But that aside, it's pretty good.
>>
>>58219812
t. i've never had a job let alone one as an embedded sw dev
>>
>>58217455
>Java for Desktop
>not obvious
>>
>>58227870
>perl > bash
What is so good about perl?
>>
What about browser? There's only one option.

JS
S
>>
Nobody wants to fucking use desktop programs anymore grandpa. It's all about the web now.
>>
>>58216813
>Anything embedded/low level/performance sensitive
We use VHDL since x86 is too slow.

Otherwise agreed. At home I use .NET because it's stupidly powerful.
>>
>>58217512
Is the .net core that good? I was mostly a C# programmer until I went back to school on fall, and now that I have to deal with Python I miss my beloved C# so much. But I worked with huge solutions so I don't know how good C# is for simple, 1 script, type of problems.
>>
>>58228094
regular expressions is probably the main thing its known for. splitting text files up, searching, sorting, easily define functions and if else while for loops much better than bash. It was pretty much designed to be better bash but got a little carried away and now its a clusterfuck all different shit. But for writing small scripts I still definitely prefer it over bash.
>>
>>58217512
What's the official/modern GUI toolkit in this new .NET? Does it run on Linux?

Windows Forms sucks badly.
Last time I tried to learn WPF I was presented with XML editing. Thank you but no.
>>
>>58218235
Everything runs on quantum probability amplitude.
>>
>>58228094
It comes default with encryption. Reading others source code is almost impossible.
>>
>C(++) for low-level

C++ is a neat idea for a language and I'm looking forward to whenever Bjarne finishes it.

Learn Rust.
>>
>>58228602
Whats unfinished about C++?
>>
>>58228660
theres a new standard like every 3 years and all sorts of undefined behavior unless you read and memorize every line of the effective c++ books
>>
>>58228660

I mean, memory management in C++ is clearly not finished. You can just have dangling pointers in your code and still compile.

Does that sound like a complete language to you?
>>
>>58216813
>Anything embedded/low level/performance sensitive
Asm
>literally everything else
Node.JS
>>
And what will you usw for highly parallel programming?
>>
>>58228693
So you think this makes the language unfinished? This would make most languages unfinished.

>>58228711
This means C++ is potentially memory unsafe. Not unfinished.
>>
>>58228728
sup code monkey
>>
>>58228350
AFAIK the .net core does not include any GUI elemnts, those are still part of the regular .Net, so that means windows forms and WPF.

WPF is a bit hard to get into, but it's pretty solid and pretty.
>>
>>58228731
>This means C++ is potentially memory unsafe.

Well clearly something's got to be done about that if C++ is to be used for low-level development.

I mean, imagine a world where C++ was widely used for systems and application development. Developers would be spending all their time hunting down memory leaks. What a nightmare!

P.S. learn Rust
>>
>>58228729
The functional programming language of your choice.
(This is the best answer)
>>
>>58228868
You're misunderstanding me to be a C++ fanboy. I was only refuting the obviously wrong statement of "C++ is unfinished".

You are completely right about C++ needing something done for it to be used for low level development and if you use google you'll see many C++ programmers have come up with their own solutions.

Rust has been my next language to learn for a while. Recommendations for good Rust material?
>>
>>58216813
>(++ if you absolutely NEED oo)
oop is a philosophy as much as it is a feature in your favourite programming languages
there's nothing stopping you doing oop in C.
>>
>>58228350
>>Last time I tried to learn WPF I was presented with XML editing. Thank you but no.

a separate declarative language for the visual design / view is a common pattern, mobile languages do this too or else you get this kind of shit

Panel = new JPanel();
Panel.setLayout(new GridBagLayout());
Panel.setEnabled(true);
final JLabel label1 = new JLabel();
label1.setText("Decimal String");
GridBagConstraints gbc;
gbc = new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 1;
gbc.anchor = GridBagConstraints.WEST;
Panel.add(label1, gbc);
final JLabel label2 = new JLabel();
label2.setText("Hexadecimal String: ");
gbc = new GridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 5;
gbc.anchor = GridBagConstraints.WEST;
Panel.add(label2, gbc);
hexField1 = new JTextField();
gbc = new GridBagConstraints();
gbc.gridx = 2;
gbc.gridy = 5;
gbc.weightx = 1.0;
gbc.anchor = GridBagConstraints.WEST;
gbc.fill = GridBagConstraints.HORIZONTAL;
// etc...
>>
>>58216813
>Anything embedded/low level/performance sensitive
JavaScript

>Desktop
JavaScript

>File operation heavy scripts
JavaScript

>ANYTHING else
JavaScript

JavaScript!
>>
>>58228907

(The inability to detect sarcasm is a symptom of autism. Don't delay, ask your doctor today!)

Rust by Example is a decent speedy intro, but absolutely MUST be supplemented with the official Rust book.

Rust is not easy to learn. Beginners will invariably feel like they're fighting the borrowing checker line-by-line. Trust me, though: that gets better with time. It's hard to learn because, rather than offloading the cost of memory management to runtime like in GC languages or to the design phase like in C(++), the cost is offloaded to you the developer while you're learning the language. And if you think about it, that's obviously the better solution. It's harder to learn because it's just a better language.

Once you start using Rust a bit, you too will swear that C++ obviously isn't finished...
>>
>>58229227


> It's harder to learn because it's just a better language.

[citation needed]
>>
>>58228958

Please put a trigger warning before posting Swing, thanks.

I've been writing a bunch of Java GUI shit at work lately. Tell me, is there a better way? Is JavaFX worth looking into or is it just an Oracle meme?
>>
>>58229227
I got that sarcasm. I didn't even respond to that part I thought that was obvious. If not maybe you should get checked :P
>>
>>58225357
Yes you can
>>
>>58229258

How's this:

You literally cannot write a Rust program with memory leaks unless you deliberately leak memory in a function or block you explicitly declare as unsafe.
Thread posts: 63
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.