LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2017, 11:53 AM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Rep: Reputation: 255Reputation: 255Reputation: 255
What can do veteran programmers against new ones, who ignorant of footprint/memory usage?


Hello,

After reading the following post, I could realize that visibly bloating is not due to the system but by programmers making it

Quote:
Ted is a Linux rich text editor which has one significant good side: It is not bloated. It is written in pure C/C++ and offers everything a simple word processor may offer: Pages and margins, choosing font, attributes (bold, italic etc.), saving to text files, RTF and even simple HTML format. But the most important thing in TED is that it is not wasting memory and CPU cycles for useless things. Editors which need GTK require few GB of libraries. AbiWord likes to pull significant part of Gnome from repo. Ted is just working on basic libraries. It is possible to have a program to write being focused on writing without gigabytes of libraries! However, the biggest problem with Ted is that it is not supported anymore in Debian, as well as in many other distributions.
source: http://oldcomputer.info/log/index.ph...-debian-jessie
Attached Thumbnails
Click image for larger version

Name:	201611252130221.png
Views:	24
Size:	79.0 KB
ID:	24953  

Last edited by Xeratul; 05-07-2017 at 02:36 PM.
 
Old 05-07-2017, 12:43 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Editors which need GTK require few GB of libraries.
this is a total BS statement for 2 reasons:

a) Ted itself has a list of dependencies, including gtk2: freetype2 desktop-file-utils ghostscript gtk2 libjpeg libpaper libpng libtiff libxpm pcre zlib
AND ted's installed size is 90MB...
AND it only does richtext, aka RTF...

b) gtk2 isn't that big, about 30MB on my system. gtk3 has 70MB. altogether, nowhere near even one GB.

that said, i agree with this sentiment:
Quote:
Originally Posted by Xeratul View Post
It is simply due to most of the new programmers that make Linux software, maintain them and make choices for the famous distributions. Veteran programmers which had much less resources of today hardware could make excellent programs. Not necessarily shining but efficient.
however, things are not so black/white.
there's many good programmers creating good, unbloated software, e.g. http://suckless.org/
etc.

Last edited by ondoho; 05-07-2017 at 12:44 PM.
 
2 members found this post helpful.
Old 05-07-2017, 01:19 PM   #3
Myk267
Member
 
Registered: Apr 2012
Location: California
Posts: 422
Blog Entries: 16

Rep: Reputation: Disabled
Maybe the veterans can take a more defensible position than calling others ignorant for using libraries?

The "bloat" pejorative seems to just amount to any program that offers any more than zero functionality that you don't use. Which phrased another way is, all software is probably doomed to be bloated if more than one person is going to use it. Ted might avoid bloat, but users have likewise avoided using Ted.
 
1 members found this post helpful.
Old 05-07-2017, 02:40 PM   #4
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Ted can be installed with motif. I did so during compilation with motif.

GTK is actually not that bad. If you can install GTK, there aren't more libs that are needed. However, the deb has strong dependencies.

Firefox might be bloated if you look this statement:
Quote:
But the most important thing in TED is that it is not wasting memory and CPU cycles for useless things.
This is why Dillo gets more and more interesting.
 
Old 05-08-2017, 02:01 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Ted would be nice if it could do any document format besides .txt and .rtf.
For such limited functionality, Ted's installed size & list of dependencies is just ridiculous.
sorry, ted developer. maybe that's why you didn't work on it for 4 years?

about dillo:
it chokes on https. that's very, very sad.
 
Old 05-08-2017, 04:54 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by ondoho View Post
Ted would be nice if it could do any document format besides .txt and .rtf.
Sometimes you don't need any more than that. I think there's a niche for something between text-editor and fully-fledged office suite. I've been known to write documents with 'wordpad' (when forced to use Windows).
 
Old 05-08-2017, 07:12 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Xeratul View Post
This is why Dillo gets more and more interesting.
If you don't need SSL/TLS or javascript, it's great.
 
Old 05-08-2017, 01:13 PM   #8
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by cynwulf View Post
If you don't need SSL/TLS or javascript, it's great.
What a great thing Java, flash, .... really kinda slow.
Sometimes the cpu indicated 150% or more with the command "top". Firefox is genius application for reducing the lifetime of a machine more cpu cycles, better sales, ... more informatics sold, more money for MS, MAC and Google.
 
Old 05-08-2017, 04:06 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
The answer to the question in your title?

By setting the example.

Last edited by dugan; 05-08-2017 at 04:15 PM.
 
1 members found this post helpful.
Old 05-09-2017, 10:30 AM   #10
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,864
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
@OP
I'll punish them strictly: no video games for a week.

Last edited by NevemTeve; 05-09-2017 at 12:44 PM.
 
Old 05-09-2017, 02:26 PM   #11
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by NevemTeve View Post
@OP
I'll punish them strictly: no video games for a week.
too bad, no game no fun, gonna be dull guy.

"all work and no game makes jack a dull boy"
 
Old 05-10-2017, 01:42 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ been watching too much xlock/xautolock lately?
 
Old 05-10-2017, 05:03 AM   #13
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,657

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
Quote:
Originally Posted by ondoho View Post
^ been watching too much xlock/xautolock lately?
It's matter of fortune...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which one has smaller memory footprint...? Alexvader General 10 06-01-2010 06:57 PM
Different memory footprint on RHEL 3.0 and 4.0 prakashmodi Linux - Software 2 09-30-2008 12:02 PM
c++ - how to find memory footprint of a GL display list (or mem usage on a GPU)? BrianK Programming 3 03-17-2008 01:14 PM
X11 memory footprint otoomet Linux - Software 4 09-30-2007 05:03 PM
Help!!!: TCP code size/memory usage / footprint bichettelinux Linux - Networking 3 07-13-2003 05:31 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration