ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] [JT] модуляризация переносимых программ [Was: 2 questions about CVS]
Date: Sat Oct 13 00:51:12 2001
Message-ID: <20011013010908.D1989@localhost.localdomain> (raw)
In-Reply-To: <3BC6BF29.BC35C5FA@zmail.ru>; from cornet@zmail.ru on Fri, Oct 12, 2001 at 02:00:09PM +0400

Hello cornet,

On Fri, Oct 12, 2001 at 02:00:09PM +0400, cornet wrote:
>
> > > Есть проект, разрабатываемый параллельно для Линуха и Винды.
> > > Ресурсы, разумеется будут общими, а вот код скорее всего разным,
> skip.
> > 
> > Скорее всего, проект можно разделить на модули, общие для обеих
> > платформ, и модули, специфичные для платформы.
> 
> Увы, заранее это предугадать почти невозможно. В случае неверной
> оценки при первоначальном расположении потом придется переносить
> ветви.... гиморно. 

Можно. Непосредственная работа с GUI -- стопроцентно различные
реализации. Общая логика, чистые алгоритмы, привлечение извне только
стандартных функций -- переносимо, возможно с вынесением различий в
специальные заголовочные файлы. Работа с файлами -- зависит от глубины
проникновения в детали, здесь в msvcrt.dll доступна некоторая часть
POSIX/standard C library. А вот threads, IPC -- слишком разные.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
Tom's hungry, time to eat lunch.



  parent reply	other threads:[~2001-10-13  0:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-12 11:58 [mdk-re] 2 questions about CVS cornet
2001-10-12 12:43 ` [mdk-re] " Mikhail Zabaluev
2001-10-12 13:57   ` cornet
2001-10-12 16:02     ` Dmitry V. Levin
2001-10-12 16:24       ` cornet
2001-10-13  0:51     ` Mikhail Zabaluev [this message]
2001-10-12 13:02 ` [mdk-re] " AT
2001-10-12 13:46   ` cornet
2001-10-12 13:56 ` Yuri Ryazantsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011013010908.D1989@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git