Re: proposed change to style(9): require yoda style if statements

2010-05-13 Thread Alexander Churanov
ot require rewriting conditionals in any way. Alexander Churanov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: make pkg_install suite reusable, please

2010-04-13 Thread Alexander Churanov
^re-library^library ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: make pkg_install suite reusable, please

2010-04-13 Thread Alexander Churanov
mand-line tools be just wrappers around the library. 2) Provide command-line tools and make the library to be just a wrapper around the tools. Approaches provide different trade-offs between run-time performance and isolation. Alexander Churanov _

Re: c question

2010-04-09 Thread Alexander Churanov
erhead for small structures. My advice: always use arrays. Use lists if: 1) Copying items when the dynamic arrays grows is inappropriate. 2) List-specific operations like O(1) splicing or O(1) insertions and deletions are required. Alexander Churanov ___ f

Re: make pkg_install suite reusable, please

2010-04-09 Thread Alexander Churanov
Leinier, I forgot to mention that character-mode IO also resolves all binary compatibility issues and makes possible implementing wrappers for any programming language much easier. Alexander Churanov ___ freebsd-hackers@freebsd.org mailing list http

Re: make pkg_install suite reusable, please

2010-04-09 Thread Alexander Churanov
a process, write commands and queries and read results. Alexander Churanov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Unicode in Syscons: I'd like to go on

2010-03-23 Thread Alexander Churanov
ll be done right. Alexander Churanov 2010/3/21 Dominic Fandrey > On 17/03/2010 15:34, Alexander Churanov wrote: > > Hi folks! > > > > Some time ago I was initiating the work on syscons driver ( see > > http://wiki.freebsd.org/SysconsUnicodeProject ), then was t

Unicode in Syscons: I'd like to go on

2010-03-17 Thread Alexander Churanov
) Discuss the state and the future of the work? I'd like to ensure that we are not doing the same things with other engineers and everybody is aware of changes. Alexander Churanov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebs

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-07-22 Thread Alexander Churanov
some ports using "USE_GCC" knob of /usr/ports/Mk/bsd.gcc.mk . Is this the same as you suggest? Alexander Churanov ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send an

Re: SoC 2009: BSD-licensed libiconv in base system

2009-05-06 Thread Alexander Churanov
elied > upon in FreeBSD-specific code.  It is not like somebody else will change > the relevant include files without warning. Ah, then wchar_t is for internal usage? Then it's OK. Alexander Churanov ___ freebsd-hackers@freebs

Re: SoC 2009: BSD-licensed libiconv in base system

2009-05-06 Thread Alexander Churanov
nally, because C language standard does not require that a wchar_t variable can hold an UTF-32 code point. 3) Please, give an example of character that does not fit into UCS-4. I'll check whether it fits into UTF-32. I expect that any character fits into a single UTF-32 code point. Sincerely,