Does C still is reliable to produce desktop software?

As I see, C language has been used more commonly to maintain legacy software and program embedded system, operating systems and stuff that really needs speed, but does it still is a good option to produce desktop software for linux? If not, what should be used in his place?

Attached: clang.jpg (438x355, 71K)

Dis niga serious

No.
Use python.

>use python
what

C++ and Qt is better if you are starting a new project.

What didn't you understand?

>Python
>Desktop software
Python is for scripting u idiot

Attached: 1519130821315.jpg (892x720, 162K)

>reliable
If C isn't reliable, nothing is, most languages are built on top of C.

>Does C still is reliable to produce desktop software?
Only if the developer has a brain.

>t. too dumb for C

For cli programs, c is still a favorite for developers that have a brain.

I like Rin and all but she's no expert on desktop software and neither are you user.

Python + qt is great for desktop apps, which is the reason so many people use it.

Of course.
The bad reputation C got is because for roughly 20 years it was one of only three mature portable languages for application software (the other two being COBOL and FORTRAN) and therefore a lot of substandard programmers used it.
But if you know your shit then you're safe.
Its spartan nature is actually a benefit when it comes to maintainability and 80% of the spec basically fits into the ~270-page K&R.

>gui in python
eww

checked, tell me more

The reason C has fallen out of favor so much isn't that you can't write reliable software with it, but that it's more economical to use other languages.
C means less hand-holding, which means that if you hire less competent people on the (relatively) cheap, they will cause more damage if they use C, than if they used a more higher level language.

Attached: 1471506645763.jpg (540x403, 52K)

No, designing UIs is far better and easier with languages which have been used to do this shit since forever. Go with Electron.

C has been used to create UI's since forever, I think you may be uninformed.

9/10

Yes, as a necessity, but languages such as HTML and javascript have been introduced as specialised tools. People used to cut trees using sharp stones, you know?

@65292782
kys

Actually HTML and Javascript make UIs harder to code.

Mentioning html as a programming language just shows how uninformed you are. html is context specific xml. xml is for structured data, not programming. xml is good for GUIs because of it's structure, this is why it's used in all sorts of graphical tookits like GTK for example, which is C.

> Desktop software
What year ard you living in?

Actually HTML 5 is Turing complete, nice one brainlet :^)

>but languages
>languages
I didn't specify it being a programming language. HTML being a Markup Language, hence the name, justifies the use of the work language.
TL;DR kys

Frameworks supporting HTML/JS/CSS makes GUI development easier and more cost-effective as webdevs are cheaper than C devs.

>Does C still is reliable to produce desktop software?
I have yet to see reliable desktop software written in C.
As for software that is ok to crash here and there, ok, but don't complain if development comes at absolute snail pace.

>html is context specific xml
lmao you're really smart

I'm just saying, if you like xml for defining your GUI, there are already libraries which allow you to do that using C.

>I didn't specify it being a programming language. HTML being a Markup Language, hence the name, justifies the use of the work language.
Can you even into context? The context of you mentioning html was html as opposed to C, which makes no sense... C is the programming language in which you may create a graphical user interface, in which you can use xml to define the structure of the layout. Saying html is better than C for GUIs is one of the most retarded things I've read this month.

>Using C for GUI use
Wow that sounds really practical.
Your opinions matter

>Frameworks supporting HTML/JS/CSS makes GUI development easier
Nope, they're bloated, every framework comes with his friction/rules and enforce brainless hipster """devs"""

Embedded systems are moving to C++

>C is used to interpret XML
>C is used to interpret HTML
literally no difference, so your arguemtn is void then?

>Everything is bloat

Xournal is pure C and it kicks ass

It is though, have you ever used gtk and glade? If no, you're just uninformed.

All my responses now I will include a picture from a project of mine made in GTK.

Attached: model_of_life.png (759x603, 31K)

>literally no difference, so your arguemtn is void then?
If you code something in your preferred language that uses JSON to transfer and serialize data, would you say it's made in your favorite language or would you say it's made in json? Json is just a way to write and structure data, much like xml.

Attached: result_of_life.png (680x653, 61K)

Yes I have, it's worse than Visual Studio from 1998. No one wants to see your shitty little apps user.

>little
It's actually pretty large. It generates OpenCL code for simulating cellular automata based on those nodes. Most of the GUI is hardcoded, except the global layout which uses XML.

Attached: model_new.png (731x449, 82K)

What I'm saying is; there is a lot better support for HTML/CSS/JS GUI design out there (e.g. Electron) in comparison to your convoluted GTK crap. Also Chrome etc are built on c/c++ so there's no reason for you to complain.

Both my last and my current projects (at companies, not just as a hobby) are in pure C and involve GUIs.

Attached: 1468148509052.png (1006x724, 746K)

I'm not complaining, I don't know why you'd shit on my work though.

Attached: height4.png (1366x768, 512K)

Does Bruno Mars is Gay?

brb

Attached: height3.png (1366x768, 534K)

This looks like a failed sophmore level CS project. The more you post the less interested I am.

C by itself isn't particularly fit for layouts. But C with a layout like GTK is pretty good. I wouldn't recommend writing one yourself. GTK is the most competent. QT has wrappers for C but I don't recommend going that route. Also QT has become rather monolithic with QT webengine - at which point you may as use Electron.

> Most of the GUI is hard coded
Of course it is, you chose C on top of not being very smart.

Okay, that completely changed my opinion.

I'm glad to hear that. I like broadening the horizons of fellow anons.

Attached: 1445641056624.jpg (634x464, 79K)

The amount of computing power needed to run software systems in those shit tier languages should be enough reason not to use them at all.

I honestly can't believe someone is shilling Electron

Attached: full_01.png (2411x1477, 25K)

Attached: C1NP4tJUsAAXy4S.jpg:large.jpg (750x654, 24K)

They're probably retarded webdevs who think webpage modeling makes any goddamn sense

I'd like to see how long the full bloated version of M$ Visual Shitudo takes to startup.

Most people are patient enough to wait 3 seconds.

most people have no standards

About a minute or so on a good computer.

I'm the electron 'shill'.
RAM is a non-issue nowadays and the couple seconds is a fair trade-off. End user time is cheaper than developers/dev time.

C is just portable asm, so of course if C isn't reliable, then asm isn't reliable and therefore basically all hardware isn't reliable.
Certain "safe" langauges like Rust or a functional safe language like Haskell do rely on this asm but they prevent certain unsafe behaviors regardless.

There are a lot of good arguments against electron. A 3 second startup time is not one of them.

>If C isn't reliable, nothing is,
Almost nothing is, in fact.
>most shitty-ass languages are built on top of C.
ftfy

>>C is used to interpret XML
>>C is used to interpret HTML
>literally no difference, so your argument is void then?
>Also Chrome etc are built on c/c++ so there's no reason for you to complain.
Interpreting xml only once, at compile time, is not the same as interpreting HTML every single time you run your shit. Same goes for running JS on a JS engine written in C++. It's like arguing that bubble sort is as fast as merge sort if they are written in the same language.

Python is a fucking glue languaje for create addons, macros and scripts shouldn't be used as core projects.

>Python + qt is great for desktop apps

QT its great complement for C++ as well as opencv , if you use QT throught python you are creating bloated slow shitty software.

yes you can use C + glib + gtkwebkit to develop fast, modern applications.

/bread

This.

Can you give me an example of a non-shitty-ass language?

It has to be hardcoded because it's dynamic content, much like if you have a simple website with dynamic content that has to be generated by javascript.

I don't know what you meant at all.

>Can you give me an example of a non-shitty-ass language?
Ooops, sorry, meant to write "shitty-ass scripting languages". My mistake.

>thinks good programmers dont make bugs

Thank god there are some programmers that take the time to make polished reliable software made in non-bloat languages so that my system actually runs. If all programmers said:
>fuck it, we have enough ram today
>fuck it, the cpu is powerfull enough today
Then the OS would take up everything and you wouldn't run shit.

>It has to be hardcoded because it's dynamic content
>Scalability
If you're gonna pretend to be smart at least admit when you're competent I'm something.

Attached: 558JEWM.png (1416x1600, 606K)

*Not competent in something.

>at least admit when you're competent I'm something.
>implies I'm a brainlet
Wtf are you even saying. If you want dynamic content, that part can't be in the static xml, it has to be generated by code... hardcoded...

I'm saying you do not know how to manage and parse dynamically given content, you can spend all day trying to wrap your head around that. I'm not implying you're a brainlet I know it. The fact that you boast your crappy little automata project on a board of CS majors proves it.

>it has to be generated by code... hardcoded...
current state of Sup Forums

Programs are extremely complicated. Mistakes are inevitable. C is the absolute worsr thing to happen to the computer industry. Hardware should have been built for fast garbage collection and interpreter languages like forth and lisp. Instead they're all built to run complied code that is always full of bugs.

Vala + GTK

Attached: aa0.jpg (1280x720, 116K)

Why is it that every time you share something in this board, there's always some insecure user who thinks I'm boasting... I don't know by which measures you'd call it crappy though. I can't say I'm hurt by it though, since you know nothing about it, you did not read the paper, you have no idea what's in it, all you can comment is on the appearance, and although I'm no designer, I think the nodegraph is actually pretty.

Yes, when you generate widgets by code instead of loading them from a xml or something like it, it is hardcoded. Much like if you include string literals instead of loading from a language file. That string is hardcoded.

>Programs are extremely complicated. Mistakes are inevitable. C is the absolute worsr thing to happen to the computer industry.
Absolutely right.
>Hardware should have been built for fast garbage collection and interpreter languages like forth and lisp.
Absolutely wrong.
It's like you want to jump from one shit tier extreme diagonally to another one.

>dead, without documentation + soon to be dead
the only explanation is
>t. elementary dev

>They're just insecure
>They should read my paper
You're right I am insecure, insecure that I look forward to spending my career with idiots like you that write faulty software. Then try to show it off and get angry when they have to admit it isn't anywhere flexible past thier given data files. I don't think it's a strange coincidence that multiple people are telling you your program is awful. Congrats you wrote a less useful JFlap in C, here's a ACM award.

Does JFlap use the GPU? Does it have GDAL support for geospacial environment files? Does it have temporal blending of such environments? I'm asking because I'm curious, not to boast.

Probably not because that sounds idiotic for automata simulation. When you go out in the real world you'll realize applications have applied purposes. Not ambiguous attempts to satisfy every known library and functionality, you fucking retard.

The goal of the project wasn't to just simulate automata, it was to simulate two specific populations of bees that react differently to the environment, for that I needed those tools. Why do you sound mad like I fucked your mother or something?

I don't care about the goal of your homework assignment. I'm irritated because you have this childish mentality. You continue to reply after I shit on you, because you are looking for recognition.

I'm actually just killing time, I'm waiting for some guests to arrive home and don't have time to work now so yeah... I don't need recognition from you, lol. What childish mentality? I was contacted by a professor from another university, he was studying the differences between African and European bees in the Iberian Peninsula and wanted a tool for that task, the climate data he has is in a geospacial raster format. I didn't just want to include everything for no fucking reason. Then we wrote a paper about it since the simulated results have a higher than 0.3 correlation with real life samples. The plus side of it is, it doesn't work only for bees, but for any population where you can formulate a fitness based on climate data or mathematical equations.

Attached: example1.png (593x653, 342K)

> I don't need recognition from you, lol. >What childish mentality?
lmao....
It's no surprise nobody on this thread said anything positive about your project. Keep talking up your Jflap clone, we all want to hear how smart you (think you) are.

>current year
>comparing IDE to a babby's first text editor

0/10

>critique someone for calling HTML a programming language
>proceeds to call HTML XML
HTML (

I write CLI apps in C and then make GUI frontends for them in Object Pascal.

I don't know why you'd presume to know how smart I think I am. But listen, I'm actually thankful for your comments. When I'm not motivated to work, I repeat in my mind "you're shit" "you don't deserve anything" and "you're going to die without a roof over your head". Shit like that makes me work a lot harder.

I will concede, I was wrong to say html is an extension of xml. Thanks for correcting me.

All I meant to say is it's just a way of storing structured data, almost no different from xml, which is available in most GUI toolkits independent of what language those toolkits are used on.

Only for speed, i wouldn't use it if you can get away with something like Rust or Go

Literally who uses it besides meme developers?

Saying this as someone who writes in Python regularly. Distribution is a nightmare for anyone other than Python devs.

>Everybody everybody what do you think of my CS project? Huh? What do you guys think? Hey guys? Guys!

I never said any of those things you mentioned towards the end, but you keep telling yourself that bro.

I think I'm biting too hard on this hook, but in for a penny in for a pound.

The topic of this thread is C and GUIs, the project falls on those categories. The point wasn't "look how amazing it is", rather the opposite, "look, even a brainlet like me can make a GUI in C, it's that easy".

Hardware isn't designed for C.
C is designed for hardware.
The alternative, quite fankly, is the assembly language of whatever platform you are deploying on. Which is obviously a fucking nightmare.
You have to be retarded if you think "hurr durr hardware can be build for fast gc"

>GUI in C
Why?

Why not?

I am unironically interested in those two things. Is it worth to learn C++ and Qt? Or just another meme?

You're completely wrong. Machines made for garbage collection and designed around interrupter languages already exist. Have you seriously never heard of lisp machines? You could look at the source code of running processes in real time. The systems were completely open and hackable. It's much better than the shit we have now based on c languages.

It's not productive.